Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jan 29, 2020
1 parent 5b42a76 commit 66524c5
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 @@ -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 {
Expand Down

0 comments on commit 66524c5

Please sign in to comment.