mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
addressing issues [#2272] and [#2274]
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 ⬅️
Quick start
Installation
Installing Rustlings
The following command will download and compile Rustlings:
cargo install rustlings
Initialization
After installing Rustlings, run the following command to initialize the rustlings/ directory:
rustlings init
Now, go into the newly initialized directory and launch Rustlings for further instructions on getting started with the exercises:
cd rustlings
Starting Rustlings
rustlings
Get Back To Practice
Navigate to Rsustlings Directory:
cd rustlings
then run:
rustlings
Happy Learning!
Languages
Rust
97.7%
HTML
1.9%
CSS
0.3%