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 018d269 + a3a041d commit 08d07e9Copy full SHA for 08d07e9
src/doc/rustdoc/src/write-documentation/the-doc-attribute.md
@@ -4,8 +4,8 @@ The `#[doc]` attribute lets you control various aspects of how `rustdoc` does
4
its job.
5
6
The most basic function of `#[doc]` is to handle the actual documentation
7
-text. That is, `///` is syntax sugar for `#[doc]`. This means that these two
8
-are the same:
+text. That is, `///` is syntax sugar for `#[doc]` (as is `//!` for `#![doc]`).
+This means that these two are the same:
9
10
```rust,no_run
11
/// This is a doc comment.
0 commit comments