Skip to content

Commit

Permalink
trpl: mention doc(hidden)
Browse files Browse the repository at this point in the history
  • Loading branch information
panicbit committed Oct 9, 2015
1 parent 8dfe0ec commit cf785d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/doc/trpl/documentation.md
Expand Up @@ -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
Expand Down

0 comments on commit cf785d1

Please sign in to comment.