trpl: mention doc(hidden)
This commit is contained in:
parent
8dfe0ec8a8
commit
cf785d1a9f
@ -571,6 +571,13 @@ leave something undocumented. This is done by using `allow`:
|
||||
struct Undocumented;
|
||||
```
|
||||
|
||||
You might even want to hide items from the documentation completely:
|
||||
|
||||
```rust
|
||||
#[doc(hidden)]
|
||||
struct Hidden;
|
||||
```
|
||||
|
||||
### Controlling HTML
|
||||
|
||||
You can control a few aspects of the HTML that `rustdoc` generates through the
|
||||
|
Loading…
x
Reference in New Issue
Block a user