about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-09-08 09:08:25 +0800
committerGitHub <noreply@github.com>2020-09-08 09:08:25 +0800
commit3a3a08585f0a0240c7b73efd5c77e78d2af38755 (patch)
tree896e3e9ad21a8775ad8e4c358e8fa50b50584788 /src
parent3740b0064d20646e9aa484bac14076563cbf1032 (diff)
downloadrust-3a3a08585f0a0240c7b73efd5c77e78d2af38755.tar.gz
rust-3a3a08585f0a0240c7b73efd5c77e78d2af38755.zip
Unstable book rust-attrs does not work on generics
Co-authored-by: Peter Todd <pete@petertodd.org>
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/language-features/rustc-attrs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/rustc-attrs.md b/src/doc/unstable-book/src/language-features/rustc-attrs.md
index a67e364ba3f..1d9409ee9e4 100644
--- a/src/doc/unstable-book/src/language-features/rustc-attrs.md
+++ b/src/doc/unstable-book/src/language-features/rustc-attrs.md
@@ -14,7 +14,7 @@ with `cargo check`) as an alternative to `rustc -Z print-type-sizes`
 that is way more verbose.
 
 Options provided by `#[rustc_layout(...)]` are `debug`, `size`, `align`,
-`abi`. Note that it only work best with sized type without generics.
+`abi`. Note that it only works on sized types without generics.
 
 ## Examples