trpl: mention doc(hidden)

This commit is contained in:
panicbit 2015-10-09 14:08:32 +02:00
parent 8dfe0ec8a8
commit cf785d1a9f

View File

@ -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