diff options
| author | X <6884440+dingxiangfei2009@users.noreply.github.com> | 2022-09-30 21:03:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-30 21:03:08 +0800 |
| commit | fb52dc7c3b7cc5170d5096931827a0169fd65eb5 (patch) | |
| tree | 3b27a97cc7c32926a3dd9f74f1bf3ffb3712eecc /compiler | |
| parent | 4a2c1a12b662eb590dbe78f7f9d13c2f327d3bb6 (diff) | |
| download | rust-fb52dc7c3b7cc5170d5096931827a0169fd65eb5.tar.gz rust-fb52dc7c3b7cc5170d5096931827a0169fd65eb5.zip | |
apply suggestion
Co-authored-by: SafariMonkey <charlton.rodda@gmail.com>
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_mir_build/src/build/scope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/scope.rs b/compiler/rustc_mir_build/src/build/scope.rs index 2d29d0b6928..edace55f572 100644 --- a/compiler/rustc_mir_build/src/build/scope.rs +++ b/compiler/rustc_mir_build/src/build/scope.rs @@ -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. |
