Describe doc attribute in the reference

FIxes #7963.
This commit is contained in:
Steve Klabnik 2014-10-27 15:29:17 -04:00
parent e2cd4597da
commit 4d43d163df

View File

@ -2013,6 +2013,7 @@ On `struct`s:
- `unsafe_no_drop_flag` - on structs, remove the flag that prevents
destructors from being run twice. Destructors might be run multiple times on
the same object with this attribute.
- `doc` - Doc comments such as `/// foo` are equivalent to `#[doc = "foo"]`.
### Conditional compilation