Skip to content

Commit 915ef66

Browse files
Centrilehuss
andauthored
Apply suggestions from Centril
Co-Authored-By: ehuss <eric@huss.org>
1 parent f5c2b0b commit 915ef66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/type-layout.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,10 @@ The packing value is specified as a parameter in the form of
297297
packing value is 1. The packing value must be a power of two up to
298298
2<sup>29</sup>.
299299

300-
The `packed` representation sets the alignment to the smaller of the specified
300+
The `packed` representation sets the type's alignment to the smaller of the specified
301301
packing and the current alignment (either default or `C`). The alignments of
302-
each field for the purpose of positioning fields would also be the smaller of
303-
the specified packing and the alignment of the type of that field. If the
302+
each field, for the purpose of positioning fields, is the smaller of
303+
the specified packing and the alignment of the field's type. If the
304304
specified packing is greater than or equal to the default alignment of the
305305
type, then the alignment and layout is unaffected.
306306

0 commit comments

Comments
 (0)