Skip to content

Commit 66524c5

Browse files
committed
1 parent 5b42a76 commit 66524c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/redundant_clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ fn base_local_and_movability<'tcx>(
334334
&& has_drop(cx, mir::Place::ty_from(local, projection, &mir.local_decls, cx.tcx).ty);
335335
}
336336

337-
Some((*local, deref || field))
337+
Some((local, deref || field))
338338
}
339339

340340
struct LocalUseVisitor {

0 commit comments

Comments
 (0)