about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Long <nathanmlong@gmail.com>2015-04-16 06:16:52 -0400
committerNathan Long <nathanmlong@gmail.com>2015-06-11 09:20:14 -0400
commita47d7a752e8554dc3cc3667b1715d95a3848f620 (patch)
tree40753bd13ef7dbd3ce802a08d9a817061af34a4b
parent798fa2276c31f4661b1c3d96b627337f59e907b4 (diff)
downloadrust-a47d7a752e8554dc3cc3667b1715d95a3848f620.tar.gz
rust-a47d7a752e8554dc3cc3667b1715d95a3848f620.zip
Explain the `--bin` flag more clearly
-rw-r--r--src/doc/trpl/hello-cargo.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doc/trpl/hello-cargo.md b/src/doc/trpl/hello-cargo.md
index 8d8b1734334..9406381a40f 100644
--- a/src/doc/trpl/hello-cargo.md
+++ b/src/doc/trpl/hello-cargo.md
@@ -138,8 +138,7 @@ To start a new project with Cargo, use `cargo new`:
 $ cargo new hello_world --bin
 ```
 
-We’re passing `--bin` because we're making a binary program: if we were making
-a library, we'd leave it off.
+We’re passing `--bin` because our goal is to get straight to making an executable application, as opposed to a library. Executables are often called ‘binaries.’ (as in `/usr/bin`, if you’re on a Unix system)
 
 Let's check out what Cargo has generated for us: