We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9af4e32 + e791032 commit 3570095Copy full SHA for 3570095
src/doc/rust.md
@@ -169,6 +169,10 @@ sequence (`/**`), are interpreted as a special syntax for `doc`
169
`#[doc="..."]` around the body of the comment (this includes the comment
170
characters themselves, ie `/// Foo` turns into `#[doc="/// Foo"]`).
171
172
+`//!` comments apply to the parent of the comment, rather than the item that
173
+follows. `//!` comments are usually used to display information on the crate
174
+index page.
175
+
176
Non-doc comments are interpreted as a form of whitespace.
177
178
## Whitespace
0 commit comments