about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNAKASHIMA, Makoto <makoto.nksm+github@gmail.com>2015-01-11 17:40:42 +0900
committerNAKASHIMA, Makoto <makoto.nksm+github@gmail.com>2015-01-11 17:40:42 +0900
commitadd92250383a3fcb5a8a74b4ac064ff06119e638 (patch)
treee0b3887fa73317a304867f260c32037d6a041821
parent431105a70acaf6e0a1d64b6dd3f69563d6694287 (diff)
downloadrust-add92250383a3fcb5a8a74b4ac064ff06119e638.tar.gz
rust-add92250383a3fcb5a8a74b4ac064ff06119e638.zip
`cargo build` doesn't run the executables
-rw-r--r--src/doc/trpl/crates-and-modules.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/crates-and-modules.md b/src/doc/trpl/crates-and-modules.md
index c179a263b35..f6dc4efaede 100644
--- a/src/doc/trpl/crates-and-modules.md
+++ b/src/doc/trpl/crates-and-modules.md
@@ -559,7 +559,7 @@ Also, note that we `pub use`d before we declared our `mod`s. Rust requires that
 This will build and run:
 
 ```bash
-$ cargo build
+$ cargo run
    Compiling phrases v0.0.1 (file:///home/you/projects/phrases)
      Running `target/phrases`
 Hello in English: Hello!