summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-26 01:55:44 +0200
committermo8it <mo8it@proton.me>2024-04-26 01:55:44 +0200
commitb7289e59aae11b294706b219df614efc2d852b60 (patch)
tree7e2825e245e4890ce79d408f548f32faab2410b6 /README.md
parentbe4dfe8be036e451e8763444e4de9e7428b88f40 (diff)
Put --locked in the troubleshooting section
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4b47399..840391b 100644
--- a/README.md
+++ b/README.md
@@ -32,11 +32,18 @@ The following command will download and compile Rustlings:
<!-- TODO: Remove @6.0.0-beta.x -->
```bash
-cargo install rustlings@6.0.0-beta.3 --locked
+cargo install rustlings@6.0.0-beta.3
```
-If the installation failes, make sure you have the latest Rust version by running `rustup update`.
-Otherwise, please [report an issue](https://github.com/rust-lang/rustlings/issues/new).
+#### Troubleshooting
+
+If the installation fails…
+
+<!-- TODO: Remove @6.0.0-beta.x -->
+
+- Make sure you have the latest Rust version by running `rustup update`.
+- Try adding the `--locked` flag: `cargo install rustlings --locked`
+- Otherwise, please [report an issue](https://github.com/rust-lang/rustlings/issues/new).
### Initialization