We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abb3b9c + 4d43d16 commit 301ed5eCopy full SHA for 301ed5e
src/doc/reference.md
@@ -2014,6 +2014,7 @@ On `struct`s:
2014
- `unsafe_no_drop_flag` - on structs, remove the flag that prevents
2015
destructors from being run twice. Destructors might be run multiple times on
2016
the same object with this attribute.
2017
+- `doc` - Doc comments such as `/// foo` are equivalent to `#[doc = "foo"]`.
2018
2019
### Conditional compilation
2020
0 commit comments