Skip to content

Commit 5773bde

Browse files
committed
Merge pull request #20520 from nhowell/patch-1
doc: Add missing `$`s in the Installing Rust guide Reviewed-by: steveklabnik, steveklabnik
2 parents 589c38a + 36bed41 commit 5773bde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ Linux or a Mac, all you need to do is this (note that you don't need to type
2323
in the `$`s, they just indicate the start of each command):
2424

2525
```bash
26-
curl -L https://static.rust-lang.org/rustup.sh | sudo sh
26+
$ curl -L https://static.rust-lang.org/rustup.sh | sudo sh
2727
```
2828

2929
If you're concerned about the [potential insecurity](http://curlpipesh.tumblr.com/) of using `curl | sudo sh`,
3030
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:
3131

3232
```bash
33-
curl -L https://static.rust-lang.org/rustup.sh -O
34-
sudo sh rustup.sh
33+
$ curl -L https://static.rust-lang.org/rustup.sh -O
34+
$ sudo sh rustup.sh
3535
```
3636

3737
If you're on Windows, please download either the [32-bit

0 commit comments

Comments
 (0)