We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d46db14 commit 4f2cc95Copy full SHA for 4f2cc95
src/type-layout.md
@@ -501,7 +501,7 @@ assert_eq!(std::mem::size_of::<Enum16>(), 4);
501
502
The `align` and `packed` modifiers can be used to respectively raise or lower
503
the alignment of `struct`s and `union`s. `packed` may also alter the padding
504
-between fields.
+between fields (although it will not alter the padding inside of any field).
505
506
The alignment is specified as an integer parameter in the form of
507
`#[repr(align(x))]` or `#[repr(packed(x))]`. The alignment value must be a
0 commit comments