Skip to content

Commit 68ed6cc

Browse files
committed
1 parent d3c40a1 commit 68ed6cc

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
@@ -93,7 +93,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for RedundantClone {
9393
.into_results_cursor(mir);
9494
let mut possible_borrower = {
9595
let mut vis = PossibleBorrowerVisitor::new(cx, mir);
96-
vis.visit_body(mir_read_only);
96+
vis.visit_body(&mir_read_only);
9797
vis.into_map(cx, maybe_storage_live_result)
9898
};
9999

0 commit comments

Comments
 (0)