Skip to content

Commit 2eb248d

Browse files
committed
Fix formatting
1 parent 9d73371 commit 2eb248d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clippy_lints/src/redundant_clone.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,10 @@ impl<'a, 'tcx> mir::visit::Visitor<'tcx> for PossibleBorrowerVisitor<'a, 'tcx> {
518518
self.possible_borrower.add(borrowed.local, lhs);
519519
},
520520
other => {
521-
if ContainsRegion.visit_ty(place.ty(&self.body.local_decls, self.cx.tcx).ty).is_continue() {
521+
if ContainsRegion
522+
.visit_ty(place.ty(&self.body.local_decls, self.cx.tcx).ty)
523+
.is_continue()
524+
{
522525
return;
523526
}
524527
rvalue_locals(other, |rhs| {

0 commit comments

Comments
 (0)