apply suggestion

Co-authored-by: SafariMonkey <charlton.rodda@gmail.com>
This commit is contained in:
X 2022-09-30 21:03:08 +08:00 committed by GitHub
parent 4a2c1a12b6
commit fb52dc7c3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1023,7 +1023,7 @@ fn diverge_cleanup(&mut self) -> DropIdx {
cached_drop 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. /// some ancestor scope instead of the current scope.
/// It is possible to unwind to some ancestor scope if some drop panics as /// It is possible to unwind to some ancestor scope if some drop panics as
/// the program breaks out of a if-then scope. /// the program breaks out of a if-then scope.