Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/doc/trpl/hello-cargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down