Skip to content

Commit babe51c

Browse files
ehusstshepang
andauthored
Add trailing comma to match common style
Co-authored-by: Tshepang Mbambo <hopsi@tuta.io>
1 parent 43b6538 commit babe51c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/type-layout.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ The *`repr` [attribute][attributes]* can change the representation and layout of
132132
> struct ThreeInts {
133133
> first: i16,
134134
> second: i8,
135-
> third: i32
135+
> third: i32,
136136
> }
137137
> ```
138138
@@ -554,15 +554,15 @@ On their own, `align` and `packed` do not provide guarantees about the order of
554554
> struct PackedStruct {
555555
> first: i16,
556556
> second: i8,
557-
> third: i32
557+
> third: i32,
558558
> }
559559
>
560560
> // C representation, alignment raised to 8
561561
> #[repr(C, align(8))]
562562
> struct AlignedStruct {
563563
> first: i16,
564564
> second: i8,
565-
> third: i32
565+
> third: i32,
566566
> }
567567
> ```
568568

0 commit comments

Comments
 (0)