about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-24 12:21:41 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2014-08-24 12:21:41 +0200
commit2d723237db4fe0e7fc43ed1866c3e1952a1753ad (patch)
treea530ee26854d6c1c4d0f0f0c117764665a1284a6
parent16d538cba0cc5b5830e7c17663e985d13ece8e0c (diff)
doc: use the more convenient 'cargo run' command
This lovely command has already been introduced, so let's take advantage
of it.
-rw-r--r--src/doc/guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index f1211c0788e..ced88e9db00 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -2682,9 +2682,9 @@ $ cargo new modules --bin
 Let's double check our work by compiling:
 
 ```{bash,ignore}
-$ cargo build
+$ cargo run
    Compiling modules v0.0.1 (file:///home/you/projects/modules)
-$ ./target/modules
+     Running `target/modules`
 Hello, world!
 ```