This repository contains my personal solutions to the Rustlings exercises — a collection of small Rust programs designed to help you get comfortable reading and writing Rust code.
exercises/— my completed solutionssolutions/— the official Rustlings solutions
| # | Topic |
|---|---|
| 00 | Intro |
| 01 | Variables |
| 02 | Functions |
| 03 | If |
| 04 | Primitive Types |
| 05 | Vecs |
| 06 | Move Semantics |
| 07 | Structs |
| 08 | Enums |
| 09 | Strings |
| 10 | Modules |
| 11 | Hashmaps |
| 12 | Options |
| 13 | Error Handling |
| 14 | Generics |
| 15 | Traits |
| 16 | Lifetimes |
| 17 | Tests |
| 18 | Iterators |
| 19 | Smart Pointers |
| 20 | Threads |
| 21 | Macros |
| 22 | Clippy |
| 23 | Conversions |
Install Rustlings and run the exercises:
cargo install rustlings
rustlings