-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-configurationArea: cargo config files and env varsArea: cargo config files and env varsCommand-doc
Description
rustdoc can include private items in the generated documentation: rust-lang/rust#15347 (comment)
This is triggered by passing --no-defaults --passes "collapse-docs" --passes "unindent-comments"
to it. This has two issues:
- It’s very hard to discover
- Cargo does not allow giving arbitrary parameters to rustdoc: cargo-doc: enable using --html-in-header and other rustdoc flags #331
Could Cargo do this itself e.g. when [lib] doc-private = true
is set in Cargo.toml
?
sekhat, mkroman, jmoggr, Razican, apoelstra and 46 more
Metadata
Metadata
Assignees
Labels
A-configurationArea: cargo config files and env varsArea: cargo config files and env varsCommand-doc