LinuxCommandLibrary

rustup-doc

Open local Rust documentation in browser

TLDR

Open Rust documentation

$ rustup doc
copy
Open The Book
$ rustup doc --book
copy
Open standard library docs
$ rustup doc --std
copy
Open specific crate docs
$ rustup doc --core
copy

SYNOPSIS

rustup doc [options] [topic]

DESCRIPTION

rustup doc opens local Rust documentation in the browser. Provides offline access to The Book, standard library, and reference documentation.

PARAMETERS

--book

The Rust Programming Language.
--std
Standard library documentation.
--reference
The Rust Reference.
--core
Core library docs.
--alloc
Alloc library docs.
--path
Print path instead of opening.

SEE ALSO

rustup(1), cargo-doc(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community