Skip to content

Commit e395026

Browse files
oli-obkwildarch
authored andcommitted
Fix typo in src/librustc/ty/layout.rs
Co-Authored-By: wildarch <[email protected]>
1 parent b7266c6 commit e395026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,7 @@ impl<'a, 'tcx, C> TyLayoutMethods<'tcx, C> for Ty<'tcx>
18881888
_ => {
18891889
let mut data_variant = match this.variants {
18901890
Variants::NicheFilling { dataful_variant, .. } => {
1891-
// Only the niche itthis is always initialized,
1891+
// Only the niche in this is always initialized,
18921892
// so only check for a pointer at its offset.
18931893
//
18941894
// If the niche is a pointer, it's either valid

0 commit comments

Comments
 (0)