From fb52dc7c3b7cc5170d5096931827a0169fd65eb5 Mon Sep 17 00:00:00 2001 From: X <6884440+dingxiangfei2009@users.noreply.github.com> Date: Fri, 30 Sep 2022 21:03:08 +0800 Subject: [PATCH] apply suggestion Co-authored-by: SafariMonkey --- compiler/rustc_mir_build/src/build/scope.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ fn diverge_cleanup(&mut self) -> DropIdx { 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.