CmdID

CmdID / Commands

cargo-rustdoc

Build the documentation of Rust packages. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Build the documentation of Rust packages. Similar to cargo doc, but you can pass options to rustdoc. See rustdoc --help for all available options.

Pass options to rustdoc

cargo rustdoc -- rustdoc_optionsIdentify

Warn about a documentation lint

cargo rustdoc -- --warn rustdoc::lint_nameIdentify

Ignore a documentation lint

cargo rustdoc -- --allow rustdoc::lint_nameIdentify

Document the package's library

cargo rustdoc --libIdentify

Document the specified binary

cargo rustdoc --bin nameIdentify

Document the specified example

cargo rustdoc --example nameIdentify

Document the specified integration test

cargo rustdoc --test nameIdentify