snippetbashTip
rustup doc — Open the offline Rust documentation for the current toolchain. There are a lot more documentation pa
Viewed 0 times
thecommandrustcliopendocumentationrustup docoffline
Problem
How to use the
rustup doc command: Open the offline Rust documentation for the current toolchain. There are a lot more documentation pages not mentioned here. See rustup help doc for more information. More information: <https://rust-lang.github.io/rustup/>.Solution
rustup doc — Open the offline Rust documentation for the current toolchain. There are a lot more documentation pages not mentioned here. See rustup help doc for more information. More information: <https://rust-lang.github.io/rustup/>.Open the main page:
rustup docOpen the documentation for a specific topic (a module in the standard library, a type, a keyword, etc.):
rustup doc {{std::fs|usize|fn|...}}Open the Rust Programming Language book:
rustup doc --bookOpen the Cargo book:
rustup doc --cargoOpen the Rust Reference:
rustup doc --referenceCode Snippets
Open the main page
rustup docOpen the documentation for a specific topic (a module in the standard library, a type, a keyword, etc.)
rustup doc {{std::fs|usize|fn|...}}Open the Rust Programming Language book
rustup doc --bookOpen the Cargo book
rustup doc --cargoOpen the Rust Reference
rustup doc --referenceContext
tldr-pages: common/rustup doc
Revisions (0)
No revisions yet.