From 94c5ea350f3fe5fcb8db3e670468bcf92b750046 Mon Sep 17 00:00:00 2001 From: Camille GILLOT Date: Wed, 16 Aug 2023 18:15:49 +0000 Subject: [PATCH] Update doc comment. --- compiler/rustc_mir_transform/src/elaborate_drops.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_mir_transform/src/elaborate_drops.rs b/compiler/rustc_mir_transform/src/elaborate_drops.rs index 4d509e349cd..78c0c6b6b86 100644 --- a/compiler/rustc_mir_transform/src/elaborate_drops.rs +++ b/compiler/rustc_mir_transform/src/elaborate_drops.rs @@ -106,7 +106,7 @@ impl<'tcx> MirPass<'tcx> for ElaborateDrops { } } -/// Removes unwind edges which are known to be unreachable, because they are in `drop` terminators +/// Records unwind edges which are known to be unreachable, because they are in `drop` terminators /// that can't drop anything. #[instrument(level = "trace", skip(body, flow_inits), ret)] fn compute_dead_unwinds<'mir, 'tcx>(