diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2024-10-23 02:45:24 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2024-10-23 02:45:24 -0700 |
| commit | ecdc2441b6a96603dd7188652adf86e06c2dc513 (patch) | |
| tree | ba13d10e763f5bc6ec593c7551644b632a50cfa3 /compiler/rustc_codegen_gcc | |
| parent | 9abfcb49002b82f46ad66ceb0b26cee8be2dc658 (diff) | |
| download | rust-ecdc2441b6a96603dd7188652adf86e06c2dc513.tar.gz rust-ecdc2441b6a96603dd7188652adf86e06c2dc513.zip | |
"innermost", "outermost", "leftmost", and "rightmost" don't need hyphens
These are all standard dictionary words and don't require hyphenation.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/type_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/type_of.rs b/compiler/rustc_codegen_gcc/src/type_of.rs index 183e9ddf8bf..db874afe1ab 100644 --- a/compiler/rustc_codegen_gcc/src/type_of.rs +++ b/compiler/rustc_codegen_gcc/src/type_of.rs @@ -197,7 +197,7 @@ impl<'tcx> LayoutGccExt<'tcx> for TyAndLayout<'tcx> { /// `[T]` becomes `T`, while `str` and `Trait` turn into `i8` - this /// is useful for indexing slices, as `&[T]`'s data pointer is `T*`. /// If the type is an unsized struct, the regular layout is generated, - /// with the inner-most trailing unsized field using the "minimal unit" + /// with the innermost trailing unsized field using the "minimal unit" /// of that field's type - this is useful for taking the address of /// that field and ensuring the struct has the right alignment. fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> { |
