mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
docs(README.md): split quick installation commands into two separate code blocks
Having the two quick installation commands in two separate code blocks makes it easy to copy them through the github's `copy to clipboard` button
This commit is contained in:
parent
362c1b0d11
commit
8c4a7bea5f
|
@ -22,7 +22,10 @@ Just run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash
|
curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash
|
||||||
# Or if you want it to be installed to a different path:
|
```
|
||||||
|
Or if you want it to be installed to a different path:
|
||||||
|
|
||||||
|
```bash
|
||||||
curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash -s mypath/
|
curl -L https://raw.githubusercontent.com/rust-lang/rustlings/main/install.sh | bash -s mypath/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue