Skip to content

Commit 6315254

Browse files
committed
"innermost", "outermost", "leftmost", and "rightmost" don't need hyphens
These are all standard dictionary words and don't require hyphenation.
1 parent cabeeeb commit 6315254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ impl<'tcx> LayoutGccExt<'tcx> for TyAndLayout<'tcx> {
197197
/// `[T]` becomes `T`, while `str` and `Trait` turn into `i8` - this
198198
/// is useful for indexing slices, as `&[T]`'s data pointer is `T*`.
199199
/// If the type is an unsized struct, the regular layout is generated,
200-
/// with the inner-most trailing unsized field using the "minimal unit"
200+
/// with the innermost trailing unsized field using the "minimal unit"
201201
/// of that field's type - this is useful for taking the address of
202202
/// that field and ensuring the struct has the right alignment.
203203
fn gcc_type<'gcc>(&self, cx: &CodegenCx<'gcc, 'tcx>) -> Type<'gcc> {

0 commit comments

Comments
 (0)