Skip to content

Commit 3a3a085

Browse files
pickfirepetertodd
andauthored
Unstable book rust-attrs does not work on generics
Co-authored-by: Peter Todd <[email protected]>
1 parent 3740b00 commit 3a3a085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with `cargo check`) as an alternative to `rustc -Z print-type-sizes`
1414
that is way more verbose.
1515

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

1919
## Examples
2020

0 commit comments

Comments
 (0)