1
0
Fork 0
blog/content/2020-10-16-rman.md
Harald Hoyer 5ebee61159 get rid of categories and add more tags
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2023-10-26 12:03:17 +02:00

723 B

+++ title = "rman - Search the Rust Documentation offline" date = 2020-06-23 [taxonomies] tags = [ "rust", "documentation", "programming"] +++

Want to search your local offline rust std documentation, with a quick command from your terminal?

Preparation:

Download the rust documentation:

$ rustup component add rust-docs

Setup a bash function (you might need to replace firefox with your browser):

function rman() { 
    firefox "file://$(rustc --print sysroot)/share/doc/rust/html/std/index.html?search=$@"
}

Fire up your browser with the search window from your terminal:

$ rman MaybeUnit

Ok... it's not man and apropos ... but good enough for now.