@@ -1396,9 +1396,9 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
1396
1396
}
1397
1397
1398
1398
/// Builds drops for `pop_scope` and `leave_top_scope`.
1399
- ///
1399
+ ///
1400
1400
/// # Parameters
1401
- ///
1401
+ ///
1402
1402
/// * `unwind_drops`, the drop tree data structure storing what needs to be cleaned up if unwind occurs
1403
1403
/// * `scope`, describes the drops that will occur on exiting the scope in regular execution
1404
1404
/// * `block`, the block to branch to once drops are complete (assuming no unwind occurs)
@@ -1436,14 +1436,14 @@ fn build_scope_drops<'tcx>(
1436
1436
// statement. For other functions we don't worry about StorageDead. The
1437
1437
// drops for the unwind path should have already been generated by
1438
1438
// `diverge_cleanup_gen`.
1439
-
1439
+
1440
1440
// `unwind_to` indicates what needs to be dropped should unwinding occur.
1441
1441
// This is a subset of what needs to be dropped when exiting the scope.
1442
1442
// As we unwind the scope, we will also move `unwind_to` backwards to match,
1443
1443
// so that we can use it should a destructor panic.
1444
1444
let mut unwind_to = unwind_to;
1445
1445
1446
- // The block that we should jump to after drops complete. We start by building the final drop (`drops[n]`
1446
+ // The block that we should jump to after drops complete. We start by building the final drop (`drops[n]`
1447
1447
// in the diagram above) and then build the drops (e.g., `drop[1]`, `drop[0]`) that come before it.
1448
1448
// block begins as the successor of `drops[n]` and then becomes `drops[n]` so that `drops[n-1]`
1449
1449
// will branch to `drops[n]`.
@@ -1492,7 +1492,7 @@ fn build_scope_drops<'tcx>(
1492
1492
continue ;
1493
1493
}
1494
1494
1495
- // As in the `DropKind::Storage` case below:
1495
+ // As in the `DropKind::Storage` case below:
1496
1496
// normally lint-related drops are not emitted for unwind,
1497
1497
// so we can just leave `unwind_to` unmodified, but in some
1498
1498
// cases we emit things ALSO on the unwind path, so we need to adjust
0 commit comments