mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-28 06:49:19 +00:00
doc(README.md): Add quick Start & Continue Learning sections
addressing issues [#2272] and [#2274]
This commit is contained in:
parent
f80fbca12e
commit
3d1c6d834a
65
README.md
65
README.md
@ -1,7 +1,72 @@
|
||||
|
||||
# [Rustlings](https://rustlings.rust-lang.org) 🦀
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Small exercises to get you used to reading and writing [Rust](https://www.rust-lang.org) code - _Recommended in parallel to reading [the official Rust book](https://doc.rust-lang.org/book) 📚️_
|
||||
|
||||
|
||||
|
||||
Visit the **website** for a demo, info about setup and more:
|
||||
|
||||
|
||||
|
||||
## ➡️ [rustlings.rust-lang.org](https://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:
|
||||
|
||||
``` bash
|
||||
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!
|
||||
Loading…
x
Reference in New Issue
Block a user