cargo rustdoc

Build the documentation of Rust packages. Similar to cargo doc, but you can pass options to rustdoc. See rustdoc --help for all available options. More information: https://doc.rust-lang.org/cargo/commands/cargo-rustdoc.html.

cargo rustdoc -- {{rustdoc_options}}

cargo rustdoc -- --warn rustdoc::{{lint_name}}

cargo rustdoc -- --allow rustdoc::{{lint_name}}

cargo rustdoc --lib

cargo rustdoc --bin {{name}}

cargo rustdoc --example {{name}}

cargo rustdoc --test {{name}}