trpl: mention doc(hidden)
This commit is contained in:
parent
8dfe0ec8a8
commit
cf785d1a9f
1 changed files with 7 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue