rust-lang /rustlings
:crab: Small exercises to get you used to reading and writing Rust code!
★ 64,627⑂ 11,289👁 371⑃ 1,630● 780▤ 46◈ 40
64,627
stars
+16
11,289
forks
371
watchers
1,630
prs
780
issues
46
releases
40
discussions
README
Rustlings 🦀 Small exercises to get you used to reading and writing Rust code - _Recommended in parallel to reading the official Rust book 📚️_ Visit the website for a demo, info about setup and more: ➡️ rustlings.rust-lang.org ⬅️
Top issues
#2071Checking an exercise takes too long14 comments · 2024-08-06#482Stdio, Read, Write and Files12 comments · 2020-07-29#1501Hints to add offline documentation suggestions9 comments · 2023-04-28#1746Closures8 comments · 2023-10-29#2040Async exercises7 comments · 2024-07-10#2447"c:check all" causes clippy3 crash6 comments · 2026-09-09#1713variables5 is confusing6 comments · 2023-10-11#1990options2: unclear what to do and why5 comments · 2024-06-09
Discussions
#2437Is there a problem in the test cases in 23_conversions: `as_ref_mut.rs` or `conversion5.rs`1 comments · 2026-08-19#2430Is it possible to include learning Tokio, and also including programming across multi file to actually build project?1 comments · 2026-08-03#2419in vecs1.rs, I used Vec::from(a), but the hint didn't talk about it1 comments · 2026-07-07#2408I can has RTFM!0 comments · 2026-06-07#2406Why does the borrow checker complain when I try to use a variable after passing it to a function?2 comments · 2026-05-30#2363Request to add .clone() documentation to the 06_move_semantics README.md1 comments · 2026-03-04#2358Has anyone considered making the examples a bit more practical?1 comments · 2026-02-23#2354traits2.rs Function Equivalence2 comments · 2026-02-12
Latest release
Rustlings 6.5.0 v6.5.0 2025-08-21Added - Check that Clippy is installed before initialization Changed - Upgrade to Rust edition 2024 - Raise the minimum supported Rust version to 1.88 - Don't follow symlinks in the file watcher - dev new: Don't add .rustlings-state.txt to .gitignore Fixed - Fix file links in VS Code - Fix error printing when the progress bar is shown - dev check: Don't check formatting if there are no solution files