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:
Keogami 2023-03-31 02:26:23 +05:30 committed by GitHub
parent 362c1b0d11
commit 8c4a7bea5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -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/
``` ```