Skip to content

Commit 2221fc8

Browse files
committed
rustup #62859
1 parent d71e9c4 commit 2221fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/redundant_clone.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ fn base_local_and_movability<'tcx>(
293293
let PlaceRef {
294294
base: place_base,
295295
mut projection,
296-
} = place.as_place_ref();
296+
} = place.as_ref();
297297
if let PlaceBase::Local(local) = place_base {
298298
while let Some(box Projection { base, elem }) = projection {
299299
projection = base;

0 commit comments

Comments
 (0)