@@ -432,7 +432,7 @@ impl<Cx: HasDataLayout> LayoutCalculator<Cx> {
432432 align = align. min ( AbiAlign :: new ( pack) ) ;
433433 }
434434 // The unadjusted ABI alignment does not include repr(align), but does include repr(pack).
435- // See documentation on `LayoutS ::unadjusted_abi_align`.
435+ // See documentation on `LayoutData ::unadjusted_abi_align`.
436436 let unadjusted_abi_align = align. abi ;
437437 if let Some ( repr_align) = repr. align {
438438 align = align. max ( AbiAlign :: new ( repr_align) ) ;
@@ -602,10 +602,10 @@ impl<Cx: HasDataLayout> LayoutCalculator<Cx> {
602602 dont_niche_optimize_enum : bool ,
603603 ) -> LayoutCalculatorResult < FieldIdx , VariantIdx , F > {
604604 // Until we've decided whether to use the tagged or
605- // niche filling LayoutS , we don't want to intern the
605+ // niche filling LayoutData , we don't want to intern the
606606 // variant layouts, so we can't store them in the
607- // overall LayoutS . Store the overall LayoutS
608- // and the variant LayoutSs here until then.
607+ // overall LayoutData . Store the overall LayoutData
608+ // and the variant LayoutDatas here until then.
609609 struct TmpLayout < FieldIdx : Idx , VariantIdx : Idx > {
610610 layout : LayoutData < FieldIdx , VariantIdx > ,
611611 variants : IndexVec < VariantIdx , LayoutData < FieldIdx , VariantIdx > > ,
@@ -1214,7 +1214,7 @@ impl<Cx: HasDataLayout> LayoutCalculator<Cx> {
12141214
12151215 match kind {
12161216 StructKind :: AlwaysSized | StructKind :: MaybeUnsized => {
1217- // Currently `LayoutS ` only exposes a single niche so sorting is usually
1217+ // Currently `LayoutData ` only exposes a single niche so sorting is usually
12181218 // sufficient to get one niche into the preferred position. If it ever
12191219 // supported multiple niches then a more advanced pick-and-pack approach could
12201220 // provide better results. But even for the single-niche cache it's not
@@ -1333,7 +1333,7 @@ impl<Cx: HasDataLayout> LayoutCalculator<Cx> {
13331333 }
13341334
13351335 // The unadjusted ABI alignment does not include repr(align), but does include repr(pack).
1336- // See documentation on `LayoutS ::unadjusted_abi_align`.
1336+ // See documentation on `LayoutData ::unadjusted_abi_align`.
13371337 let unadjusted_abi_align = align. abi ;
13381338 if let Some ( repr_align) = repr. align {
13391339 align = align. max ( AbiAlign :: new ( repr_align) ) ;
0 commit comments