Skip to main content


PSA: I assume many know, but in case you don't, you can use https://std.rs/ to browse the #rust std lib API docs. If you add anything to the URL, you get the search results for that. I regularly use this to do a quick lookup, such as https://std.rs/btreemap
#rust
this is blowing my mind
@timClicks I remember using something like this during my #PHP time, must have been somewhere around 2003. You can do the same with https://www.php.net e.g. https://www.php.net/file_get_contents so I was very happy when https://std.rs was announced.
If you are offline, `rustup doc --std` also works.

silwol reshared this.

If you use DuckDuckGo you can also do "!rust lookup-word". The same for crates.io via "!crates crate-name".

I use that daily to find crate documentation.
But why go there when you have it all on your machine, anyway? Just bookmark wherever rustup puts the docs?