diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-24 04:54:23 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-06-24 04:54:23 +0200 |
| commit | 0373b007da796463c1376cd33e02b459bdc4276a (patch) | |
| tree | 2fce4067e773e7a624c59fe7e6d6213a993dc966 | |
| parent | 4434bfac017b4005857731808d39600cd7e02cb8 (diff) | |
| download | rust-0373b007da796463c1376cd33e02b459bdc4276a.tar.gz rust-0373b007da796463c1376cd33e02b459bdc4276a.zip | |
Pacify rustfmt.
| -rw-r--r-- | clippy_lints/src/needless_continue.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clippy_lints/src/needless_continue.rs b/clippy_lints/src/needless_continue.rs index 2ab5940875b..97175f869b6 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()); } |
