docs.rs supports a button called I am feeling lucky.
What's the point of that?
- If there is a crate with that exact name it skips the search result page and jumps directly to the documentation
- We can add a keyword search in Firefox for this, so that we can jump directly to API docs for any crate
in Firefox, create a new bookmark:
- URL:
https://docs.rs/releases/search?query=%s&i-am-feeling-lucky=1
- Keyword:
docs
(or something else you pick)
Example use:
- Enter
docs memchr
into the location bar and press return - You navigate to memchr - Rust directly
docs.rs!