Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Jul 24, 2019
1 parent d71e9c4 commit 2221fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/redundant_clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ fn base_local_and_movability<'tcx>(
let PlaceRef {
base: place_base,
mut projection,
} = place.as_place_ref();
} = place.as_ref();
if let PlaceBase::Local(local) = place_base {
while let Some(box Projection { base, elem }) = projection {
projection = base;
Expand Down

0 comments on commit 2221fc8

Please sign in to comment.