Skip to content

Commit 3740b00

Browse files
authored
Add align to rustc-attrs unstable book
1 parent c133aac commit 3740b00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/unstable-book/src/language-features/rustc-attrs.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ The `rustc_attrs` feature allows debugging rustc type layouts by using
1313
with `cargo check`) as an alternative to `rustc -Z print-type-sizes`
1414
that is way more verbose.
1515

16-
Options provided by `#[rustc_layout(...)]` are `debug`, `size`, `abi`.
17-
Note that it only work best with sized type without generics.
16+
Options provided by `#[rustc_layout(...)]` are `debug`, `size`, `align`,
17+
`abi`. Note that it only work best with sized type without generics.
1818

1919
## Examples
2020

0 commit comments

Comments
 (0)