diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-12-28 12:23:23 +0100 |
|---|---|---|
| committer | Saleem Jaffer <ssaleem1992@gmail.com> | 2019-05-04 15:17:26 +0530 |
| commit | e395026aba4d0739ec06264dabb97a614ec8d0dc (patch) | |
| tree | ed2cafd08396cb083fce3195f9dfbdd8601d4390 | |
| parent | b7266c6008ea2497da20d92d0c49ccc16bd8a699 (diff) | |
| download | rust-e395026aba4d0739ec06264dabb97a614ec8d0dc.tar.gz rust-e395026aba4d0739ec06264dabb97a614ec8d0dc.zip | |
Fix typo in src/librustc/ty/layout.rs
Co-Authored-By: wildarch <daandegraaf9@gmail.com>
| -rw-r--r-- | src/librustc/ty/layout.rs | 2 |
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 |
