Skip to content

Commit 301ed5e

Browse files
committed
auto merge of #18376 : steveklabnik/rust/gh7963, r=alexcrichton
FIxes #7963.
2 parents abb3b9c + 4d43d16 commit 301ed5e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/doc/reference.md

+1
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,7 @@ On `struct`s:
20142014
- `unsafe_no_drop_flag` - on structs, remove the flag that prevents
20152015
destructors from being run twice. Destructors might be run multiple times on
20162016
the same object with this attribute.
2017+
- `doc` - Doc comments such as `/// foo` are equivalent to `#[doc = "foo"]`.
20172018

20182019
### Conditional compilation
20192020

0 commit comments

Comments
 (0)