Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: SafariMonkey <[email protected]>
  • Loading branch information
dingxiangfei2009 and SafariMonkey authored Sep 30, 2022
1 parent 4a2c1a1 commit fb52dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_build/src/build/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
cached_drop
}

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

0 comments on commit fb52dc7

Please sign in to comment.