This repository contains my personal solutions and notes from working through the Rustlings
These files represent my progress and reflections as I learn the Rust programming language step by step.
Rustlings is an open-source project by the Rust community. It offers small exercises that teach you Rust syntax, ownership, borrowing, traits, lifetimes, and more
You can think of it as an interactive Rust tutorial where each error message is part of the learning process.
Below is my progress for each topic area as well as their relevant chapter within The Rust Cookbook
- variables — §3.1
- functions — §3.3
- if — §3.5
- primitive_types — §3.2, §4.3
- vecs — §8.1
- move_semantics — §4.1–4.2
- structs — §5.1, §5.3
- enums — §6, §18.3
- strings — §8.2
- modules — §7
- hashmaps — §8.3
- options — §10.1
- error_handling — §9
- generics — §10
- traits — §10.2
- lifetimes — §10.3
- tests — §11.1
- iterators — §13.2–4
- smart_pointers — §15, §16.3
- threads — §16.1–3
- macros — §20.5
- clippy — Appendix D
- conversions — n/a
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup updatecargo install rustlings --lockedIf you have Rustlings installed:
cd rustlings
rustlingsOr, to test individual files manually:
cargo run
# or
cargo testAll exercises are originally from the Rustlings project by the Rust community.
This repo only contains my personal progress, modifications, and notes.
My additions (comments, notes, or scripts) are shared under the MIT License. The original Rustlings exercises remain under their respective license.
🦀 Learning Rust, one compiler message at a time.