Beginner
Level 1 — Beginner
Start here if you have never written a line of Rust before. Work through these lessons in order — each one builds on the last, and ownership (lesson 16) is the idea everything after it depends on.
Lessons in this module
- 1. What Is Rust? 4 min
- 2. Why Learn Rust? 3 min
- 3. Installing Rust 4 min
- 4. Setting Up Your Development Environment 3 min
- 5. Your First Rust Program 5 min
- 6. How Rust Code Runs: Cargo, rustc & Native Binaries 4 min
- 7. Variables, Mutability & Constants 6 min
- 8. Scalar Data Types 6 min
- 9. Type Conversion 5 min
- 10. Operators 5 min
- 11. Printing & Formatting 6 min
- 12. Reading User Input 6 min
- 13. Conditionals 5 min
- 14. Loops 6 min
- 15. Functions 6 min
- 16. Ownership 7 min
- 17. References & Borrowing 7 min
- 18. Slices 6 min
- 19. Strings: String vs &str 7 min
- 20. Tuples & Arrays 6 min
- 21. Vectors 6 min
- 22. Structs 6 min
- 23. Methods & impl Blocks 6 min
- 24. Enums & match 7 min
- 25. Comments, rustfmt & Clippy 5 min
- 26. Debugging Basics 6 min