about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-01-04 21:36:41 +0000
committerbors <bors@rust-lang.org>2015-01-04 21:36:41 +0000
commit5773bdefff2e47cc007f5cc2af3f80b30303d45a (patch)
tree4fab700c02425daea5bd8e5407ed12ce70a5eeb5
parent589c38a3af4eff738347c82e6b98a0e139eb1563 (diff)
parent36bed41c1fa2f5025563de5a6a5b181b05c4336e (diff)
downloadrust-5773bdefff2e47cc007f5cc2af3f80b30303d45a.tar.gz
rust-5773bdefff2e47cc007f5cc2af3f80b30303d45a.zip
Merge pull request #20520 from nhowell/patch-1
doc: Add missing `$`s in the Installing Rust guide

Reviewed-by: steveklabnik, steveklabnik
-rw-r--r--src/doc/guide.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index 57cc94377f3..2376a9cd210 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -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