Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/doc/rustdoc/src/write-documentation/re-exports.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ pub mod public_mod {
pub use self::public_mod::Public;
```

If an item has `#[doc(hidden)]`, it won't be inlined (nor visible in the generated documentation):
If an item has a reexport chain with `#[doc(hidden)]`,
and the item has no other attributes,
it won't be visible in the generated documentation:

```rust,ignore (inline)
// This struct won't be visible.
Expand Down
Loading