about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-29 08:31:51 +0000
committerbors <bors@rust-lang.org>2020-01-29 08:31:51 +0000
commitc0f39cfb466202a1dbe8368ca177848083dc34cb (patch)
treee65ecf1b5fdd3f7249549040341e0e801b0aa52f
parent5b42a76792bd966c9c97a9bb7a1d1ca8863c1e7c (diff)
parent66524c5be0bbcb89fe635a1cf32d91e0001218dc (diff)
downloadrust-c0f39cfb466202a1dbe8368ca177848083dc34cb.tar.gz
rust-c0f39cfb466202a1dbe8368ca177848083dc34cb.zip
Auto merge of #5104 - JohnTitor:rustup-0129, r=Manishearth
Rustup to rust-lang/rust#68512

changelog: none
-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 4483d2f21be..66faecbef2a 100644
--- a/clippy_lints/src/redundant_clone.rs
+++ b/clippy_lints/src/redundant_clone.rs
@@ -334,7 +334,7 @@ fn base_local_and_movability<'tcx>(
             && has_drop(cx, mir::Place::ty_from(local, projection, &mir.local_decls, cx.tcx).ty);
     }
 
-    Some((*local, deref || field))
+    Some((local, deref || field))
 }
 
 struct LocalUseVisitor {