about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-10-21 12:14:17 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-10-21 12:14:17 +0000
commitc8f33ec35f7dccf9890e9f8438c221ac74c1e07d (patch)
tree01d0bb9cd5f69ae837ba774656ee92f9e4408e7c
parentabb723dea21669ca9b0a1d4335ec20c2c30846af (diff)
downloadrust-c8f33ec35f7dccf9890e9f8438c221ac74c1e07d.tar.gz
rust-c8f33ec35f7dccf9890e9f8438c221ac74c1e07d.zip
Typo.
-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 cc24fa07cbc..59156b2427c 100644
--- a/compiler/rustc_mir_transform/src/elaborate_drops.rs
+++ b/compiler/rustc_mir_transform/src/elaborate_drops.rs
@@ -347,7 +347,7 @@ impl<'b, 'tcx> ElaborateDropsCtxt<'b, 'tcx> {
                 continue;
             };
 
-            // This place does not need dropping. It is not have an associated move-path, so the
+            // This place does not need dropping. It does not have an associated move-path, so the
             // match below will conservatively keep an unconditional drop. As that drop is useless,
             // just remove it here and now.
             if !place