Skip to content

Commit 0373b00

Browse files
committed
Pacify rustfmt.
1 parent 4434bfa commit 0373b00

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

clippy_lints/src/needless_continue.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,8 @@ where
210210
F: FnMut(&ast::Block, Option<&ast::Label>),
211211
{
212212
if let ast::ExprKind::While(_, loop_block, label)
213-
| ast::ExprKind::ForLoop(_, _, loop_block, label)
214-
| ast::ExprKind::Loop(loop_block, label)
215-
= &expr.node
213+
| ast::ExprKind::ForLoop(_, _, loop_block, label)
214+
| ast::ExprKind::Loop(loop_block, label) = &expr.node
216215
{
217216
func(loop_block, label.as_ref());
218217
}

0 commit comments

Comments
 (0)