Skip to content

Commit fb52dc7

Browse files
apply suggestion
Co-authored-by: SafariMonkey <[email protected]>
1 parent 4a2c1a1 commit fb52dc7

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_mir_build/src/build

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_mir_build/src/build/scope.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
10231023
cached_drop
10241024
}
10251025

1026-
/// This is similar to [diverge_cleanup_target] except its target is set to
1026+
/// This is similar to [diverge_cleanup] except its target is set to
10271027
/// some ancestor scope instead of the current scope.
10281028
/// It is possible to unwind to some ancestor scope if some drop panics as
10291029
/// the program breaks out of a if-then scope.

0 commit comments

Comments
 (0)