We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--document-private-items
If we run rustdoc with the --document-private-items option on this code:
rustdoc
pub fn foo() { fn bar() {} }
Both foo and bar are documented, but bar not being accessible outside of foo, it shouldn't be documented.
foo
bar