Skip to content

Commit 9ee3207

Browse files
committed
docs: Suggest rustup update in readme
1 parent e696a07 commit 9ee3207

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![crab pet](https://i.imgur.com/LbZJgmm.gif)
1+
![crab pet](https://i.imgur.com/LbZJgmm.gif)
22

33
# rustlings 🦀❤️
44

@@ -42,11 +42,16 @@ git checkout tags/1.0.0 # or whatever the latest version is (find out at https:/
4242
cargo install --force --path .
4343
```
4444

45-
Same as above, run `rustlings` to get started.
45+
If there are installation errors, ensure that your toolchain is up to date. For the latest, run:
46+
```bash
47+
rustup update
48+
```
49+
50+
Then, same as above, run `rustlings` to get started.
4651

4752
## Doing exercises
4853

49-
The exercises are sorted by topic and can be found in the subdirectory `rustlings/exercises/<topic>`. For every topic there is an additional README file with some resources to get you started on the topic. We really recommend that you have a look at them before you start.
54+
The exercises are sorted by topic and can be found in the subdirectory `rustlings/exercises/<topic>`. For every topic there is an additional README file with some resources to get you started on the topic. We really recommend that you have a look at them before you start.
5055

5156
The task is simple. Most exercises contain an error that keep it from compiling, and it's up to you to fix it! Some exercises are also ran as tests, but rustlings handles them all the same. To run the exercises in the recommended order, execute:
5257

0 commit comments

Comments
 (0)