diff options
| author | flip1995 <philipp.krones@embecosm.com> | 2021-06-03 08:41:37 +0200 |
|---|---|---|
| committer | flip1995 <philipp.krones@embecosm.com> | 2021-06-03 08:41:37 +0200 |
| commit | 6c2748211565773c297560f2edcd762565f1933a (patch) | |
| tree | ea7c9f33926e8df2be4f551514090d804651acb7 /clippy_lints/src/mutable_debug_assertion.rs | |
| parent | 91aa82174531ef408c81325e0d31b508c1f26e0b (diff) | |
| download | rust-6c2748211565773c297560f2edcd762565f1933a.tar.gz rust-6c2748211565773c297560f2edcd762565f1933a.zip | |
Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup
Diffstat (limited to 'clippy_lints/src/mutable_debug_assertion.rs')
| -rw-r--r-- | clippy_lints/src/mutable_debug_assertion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/mutable_debug_assertion.rs b/clippy_lints/src/mutable_debug_assertion.rs index 7dfe12cd4eb..25645a0e7a2 100644 --- a/clippy_lints/src/mutable_debug_assertion.rs +++ b/clippy_lints/src/mutable_debug_assertion.rs @@ -107,7 +107,7 @@ impl<'a, 'tcx> Visitor<'tcx> for MutArgVisitor<'a, 'tcx> { _ if !self.found => self.expr_span = Some(expr.span), _ => return, } - walk_expr(self, expr) + walk_expr(self, expr); } fn nested_visit_map(&mut self) -> NestedVisitorMap<Self::Map> { |
