Setup
Rust is installed via rustup, the official toolchain manager. It handles compiler versions, cross-compilation targets, and documentation — all in one tool.
Lessons
1
Hello, World!
Don't worry, the borrow checker is your friend. It's a very aggressive friend wh…
→
2
Variables & Types
In Rust, variables are immutable by default. This is not a bug. This is the enti…
→
3
Ownership & Borrowing
This is the chapter that makes people close their laptop and go for a walk. But …
→
4
Structs & Enums
Rust doesn't have classes, but it has structs + impl blocks, which are better in…
→
5
Error Handling
Rust doesn't have exceptions. Instead it has Result<T, E> and Option<T>, which f…
→
6
Traits & Generics
Traits are Rust's version of interfaces. Generics let you write code that works …
→
7
Mini Project: CLI Calculator
Let's build a command-line calculator using everything we've learned: structs, e…
→
8
Rust Cheatsheet
Ownership, pattern matching, and the types you use daily — one page.
→