Skip to content

Glossary: Rust in Practice

cargo doc

Also written: cargo doc --open

Builds the HTML documentation from your doc comments. `--open` shows it in the browser, as docs.rs will.

Where the book teaches it

Related terms

docs.rsdoc test