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_llvm/src | |
| 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_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/type_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/type_of.rs b/compiler/rustc_codegen_llvm/src/type_of.rs index 1af666f818b..6be4c3f034f 100644 --- a/compiler/rustc_codegen_llvm/src/type_of.rs +++ b/compiler/rustc_codegen_llvm/src/type_of.rs @@ -191,7 +191,7 @@ impl<'tcx> LayoutLlvmExt<'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 llvm_type<'a>(&self, cx: &CodegenCx<'a, 'tcx>) -> &'a Type { |
