I found rustdoc
command and I kind of expected it to work like pydoc
. Unfortunately, rustdoc std::io:stdin
doesn't do what I'd like it to. Is there a way to view standard library documentation in an offline form, either via command line or some kind of built in web server, like Python's pydoc
allows?
rustdoc
is used to build the documentation of a package. Not to access standard doc.
If you use rustup
, you can open the offline documentation using rustup doc --std
and then use the search box on the page (works offline too).
If you don't use rustup, the documentation might still have been installed somewhere on your system but the path would depend on the system and installation procedure.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With