From 0373b007da796463c1376cd33e02b459bdc4276a Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Mon, 24 Jun 2019 04:54:23 +0200 Subject: [PATCH] Pacify rustfmt. --- clippy_lints/src/needless_continue.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clippy_lints/src/needless_continue.rs b/clippy_lints/src/needless_continue.rs index 2ab594087..97175f869 100644 --- a/clippy_lints/src/needless_continue.rs +++ b/clippy_lints/src/needless_continue.rs @@ -210,9 +210,8 @@ where F: FnMut(&ast::Block, Option<&ast::Label>), { if let ast::ExprKind::While(_, loop_block, label) - | ast::ExprKind::ForLoop(_, _, loop_block, label) - | ast::ExprKind::Loop(loop_block, label) - = &expr.node + | ast::ExprKind::ForLoop(_, _, loop_block, label) + | ast::ExprKind::Loop(loop_block, label) = &expr.node { func(loop_block, label.as_ref()); }