about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 55465651cfb..72db6814240 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