Hacker News new | past | comments | ask | show | jobs | submit login

One great thing about the Rust books and tutorial -- you can easily enjoy them offline, right out-of-the-box.

I learned the basics of Rust on a long plane ride with no WiFi. What a great way to pass the time!




This sounded interesting but I was confused by what you meant by "the book." Looks like that's how it's commonly referred to https://www.rust-lang.org/learn


This is the "The Rust Book": https://doc.rust-lang.org/book/ Affectionally known as "the book"


There's a new design patterns "book" out and it's pretty nifty as well.


oh! link?


sorry just saw this, I don't check comments but every couple of days https://rust-unofficial.github.io/patterns/ . you probably already found it on google though lol


I don't see anything explicitly calling out what to download in nonethewiser's link. How did you end up grabbing these things for offline learning?


There’s a “READ THE BOOk!” link to https://doc.rust-lang.org/book/. That page says:

“The HTML format is available online at https://doc.rust-lang.org/stable/book/ and offline with installations of Rust made with rustup; run rustup docs --book to open“

More importantly, it has a “next page” arrow at the bottom right, and a TOC pop-up at the top left of the page.


It's automatically available if you installed with rustup! Try this:

rustup docs --book


I use devdocs.io, but I think you can simply download the book using cargo/rustup ...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: