Skip to content

Commit ce0ca76

Browse files
committed
pacify the merciless tidy
1 parent 5b99523 commit ce0ca76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_mir/build/scope.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
386386

387387
// If we are emitting a `drop` statement, we need to have the cached
388388
// diverge cleanup pads ready in case that drop panics.
389-
let may_panic =
390-
self.scopes[(len - scope_count)..].iter().any(|s| s.drops.iter().any(|s| s.kind.may_panic()));
389+
let may_panic = self.scopes[(len - scope_count)..].iter()
390+
.any(|s| s.drops.iter().any(|s| s.kind.may_panic()));
391391
if may_panic {
392392
self.diverge_cleanup();
393393
}

0 commit comments

Comments
 (0)