about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hansch <dev@phansch.net>2018-12-03 07:44:43 +0100
committerGitHub <noreply@github.com>2018-12-03 07:44:43 +0100
commita6f4cf7740049c41fccc2403f26df9158759828b (patch)
tree9b3b7adfde36a80f785bbf20ce5674f1f5edbb33
parentfd54f448bdb5698e95a177b0bc9fbffbb0a8cc47 (diff)
parentebd508e0acc39b6170d8e374c7bfa75d121c7e58 (diff)
downloadrust-a6f4cf7740049c41fccc2403f26df9158759828b.tar.gz
rust-a6f4cf7740049c41fccc2403f26df9158759828b.zip
Merge pull request #3487 from phansch/fix_fmt
Fix rustfmt format
-rw-r--r--clippy_lints/src/redundant_clone.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/redundant_clone.rs b/clippy_lints/src/redundant_clone.rs
index 77f8d7578d8..eece07d006a 100644
--- a/clippy_lints/src/redundant_clone.rs
+++ b/clippy_lints/src/redundant_clone.rs
@@ -280,7 +280,7 @@ impl<'tcx> mir::visit::Visitor<'tcx> for LocalUseVisitor {
     fn visit_local(&mut self, local: &mir::Local, ctx: PlaceContext<'tcx>, _: mir::Location) {
         match ctx {
             PlaceContext::MutatingUse(MutatingUseContext::Drop) | PlaceContext::NonUse(NonUseContext::StorageDead) => {
-                return
+                return;
             },
             _ => {},
         }