mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-06-30 00:08:45 +00:00
After passing an exercise, the watch loop currently waits for `n` before advancing. Add an opt-in `--auto-next` flag that renders the "Exercise done" screen for ~1.5s, then auto-advances to the next pending exercise and runs it. Auto-advance only fires on success; a failing exercise still stops at the prompt. The `n:next` key is hidden from the prompt when --auto-next is on, but the user can still press `n` to skip ahead manually. --auto-next is compatible with --manual-run: pressing `r` triggers a check, and on success the loop auto-advances the same way.
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 ⬅️
Languages
Rust
97.7%
HTML
1.9%
CSS
0.3%