about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-10-30 15:57:03 +0000
committerbors <bors@rust-lang.org>2014-10-30 15:57:03 +0000
commit301ed5e579c18400abfe1f3ff61addd79c59c8cb (patch)
treec923d374e2ee5acda2017ce416e3877b54c6ca80
parentabb3b9c505f31f4f28cf238cf553efc22bf68790 (diff)
parent4d43d163df6efe6c9c3f4931100f15500645da18 (diff)
downloadrust-301ed5e579c18400abfe1f3ff61addd79c59c8cb.tar.gz
rust-301ed5e579c18400abfe1f3ff61addd79c59c8cb.zip
auto merge of #18376 : steveklabnik/rust/gh7963, r=alexcrichton
FIxes #7963.
-rw-r--r--src/doc/reference.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index fab46971230..44705123ed8 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2014,6 +2014,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