about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/ty/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/ty/layout.rs b/src/librustc/ty/layout.rs
index a67aa0e41b3..c05e0aaf3ba 100644
--- a/src/librustc/ty/layout.rs
+++ b/src/librustc/ty/layout.rs
@@ -1888,7 +1888,7 @@ impl<'a, 'tcx, C> TyLayoutMethods<'tcx, C> for Ty<'tcx>
             _ => {
                 let mut data_variant = match this.variants {
                     Variants::NicheFilling { dataful_variant, .. } => {
-                        // Only the niche itthis is always initialized,
+                        // Only the niche in this is always initialized,
                         // so only check for a pointer at its offset.
                         //
                         // If the niche is a pointer, it's either valid