We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--document-private-items
1 parent d4b0b00 commit 6fb8636Copy full SHA for 6fb8636
src/doc/rustdoc/src/command-line-arguments.md
@@ -100,7 +100,8 @@ mod private { // this item is private and will not be documented
100
}
101
```
102
103
-`--document-private-items` causes all items to be documented as if they were `pub`.
+`--document-private-items` includes all non-public in the generated documentation except for `#[doc(hidden)]` items.
104
+
105
106
## `-L`/`--library-path`: where to look for dependencies
107
0 commit comments