Address cmr's nit

Signed-off-by: Peter Atashian <retep998@gmail.com>
This commit is contained in:
Peter Atashian 2015-12-06 21:44:58 -05:00
parent 898c791466
commit 6e269ded0b
1 changed files with 5 additions and 6 deletions

View File

@ -52,12 +52,11 @@ with the accepted values are:
* Packing values must be a power of two.
By specifying this attribute, the alignment of the struct would be the smaller
of the specified packing and the default alignment of the struct otherwise. The
alignments of each struct field for the purpose of positioning fields would also
be the smaller of the specified packing and the alignment of the type of that
field. If the specified packing is greater than or equal to the default
alignment of the struct, then the alignment and layout of the struct should be
unaffected.
of the specified packing and the default alignment of the struct. The alignments
of each struct field for the purpose of positioning fields would also be the
smaller of the specified packing and the alignment of the type of that field. If
the specified packing is greater than or equal to the default alignment of the
struct, then the alignment and layout of the struct should be unaffected.
When combined with `#[repr(C)]` the size alignment and layout of the struct
should match the equivalent struct in C.