termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
View a particular package's documentation
cargo doc
Build and view Rust package documentation offline.
More information: <https://doc.rust-lang.org/cargo/commands/cargo-doc.html>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
cargo doc --open --package {{package}}
click the source code to copy
install
cargo doc
on any operating system with
command-not-found.com