about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorGurinder Singh <frederick.the.fool@gmail.com>2024-03-01 08:14:42 +0530
committerGurinder Singh <frederick.the.fool@gmail.com>2024-03-01 08:14:42 +0530
commitbeac5b12aa88da04d2434d5b86bec4345a018925 (patch)
tree333d34c4ded66e2461dcd47cfa4d929355b3f641 /compiler
parent77be7a3e0df908c5ea9ea4a70d209782a7299b4b (diff)
downloadrust-beac5b12aa88da04d2434d5b86bec4345a018925.tar.gz
rust-beac5b12aa88da04d2434d5b86bec4345a018925.zip
Fix typo in comment
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_mir_transform/src/known_panics_lint.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/known_panics_lint.rs b/compiler/rustc_mir_transform/src/known_panics_lint.rs
index 7cab6650994..27477769cef 100644
--- a/compiler/rustc_mir_transform/src/known_panics_lint.rs
+++ b/compiler/rustc_mir_transform/src/known_panics_lint.rs
@@ -586,7 +586,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
             }
 
             Aggregate(ref kind, ref fields) => {
-                // Do not const pop union fields as they can be
+                // Do not const prop union fields as they can be
                 // made to produce values that don't match their
                 // underlying layout's type (see ICE #121534).
                 // If the last element of the `Adt` tuple