doc: update manual checkout version

This commit is contained in:
mokou 2022-04-20 09:47:43 +02:00
parent 9ec35d899c
commit d2179d3e84

View file

@ -57,8 +57,8 @@ When you get a permission denied message then you have to exclude the directory
Basically: Clone the repository at the latest tag, run `cargo install`. Basically: Clone the repository at the latest tag, run `cargo install`.
```bash ```bash
# find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 4.6.0) # find out the latest version at https://github.com/rust-lang/rustlings/releases/latest (on edit 4.7.1)
git clone -b 4.6.0 --depth 1 https://github.com/rust-lang/rustlings git clone -b 4.7.1 --depth 1 https://github.com/rust-lang/rustlings
cd rustlings cd rustlings
cargo install --force --path . cargo install --force --path .
``` ```