about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-08-16 18:15:49 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-08-16 18:15:49 +0000
commit94c5ea350f3fe5fcb8db3e670468bcf92b750046 (patch)
tree761d0354537529752f57c875204837e8f06fdb7b
parentb8fed2f21c505ed73e238c4c47fdad6d47283475 (diff)
Update doc comment.
-rw-r--r--compiler/rustc_mir_transform/src/elaborate_drops.rs2
1 files changed, 1 insertions, 1 deletions
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>(