Skip to content

Commit d0c2a2d

Browse files
authored
Rollup merge of #76430 - pickfire:patch-7, r=steveklabnik
Add align to rustc-attrs unstable book
2 parents bab0968 + 3a3a085 commit d0c2a2d

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

Lines changed: 2 additions & 2 deletions
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 works on sized types without generics.
1818

1919
## Examples
2020

0 commit comments

Comments
 (0)