1
Fork 0

Merge pull request #20520 from nhowell/patch-1

doc: Add missing `$`s in the Installing Rust guide

Reviewed-by: steveklabnik, steveklabnik
This commit is contained in:
bors 2015-01-04 21:36:41 +00:00
commit 5773bdefff

View file

@ -23,15 +23,15 @@ Linux or a Mac, all you need to do is this (note that you don't need to type
in the `$`s, they just indicate the start of each command):
```bash
curl -L https://static.rust-lang.org/rustup.sh | sudo sh
$ curl -L https://static.rust-lang.org/rustup.sh | sudo sh
```
If you're concerned about the [potential insecurity](http://curlpipesh.tumblr.com/) of using `curl | sudo sh`,
please keep reading and see our disclaimer below. And feel free to use a two-step version of the installation and examine our installation script:
```bash
curl -L https://static.rust-lang.org/rustup.sh -O
sudo sh rustup.sh
$ curl -L https://static.rust-lang.org/rustup.sh -O
$ sudo sh rustup.sh
```
If you're on Windows, please download either the [32-bit