Forward arguments to rustdoc for advanced control.
Section: Documentation
Pass options to rustdoc
bash
bash
cargo rustdoc -- --document-private-itemsExplanation
Useful when exploring internal APIs or custom doc generation.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Documentation