]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/trpl/hello-cargo.md
Explain the `--bin` flag more clearly
[rust.git] / src / doc / trpl / hello-cargo.md
index 8d8b17343343e08ed21e7cfbb3d6533650415622..9406381a40fa9b8349d5859abb60aba895051419 100644 (file)
@@ -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: