You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/doc/trpl/hello-cargo.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -145,8 +145,7 @@ To start a new project with Cargo, use `cargo new`:
145
145
$ cargo new hello_world --bin
146
146
```
147
147
148
-
We’re passing `--bin` because we're making a binary program: if we were making
149
-
a library, we'd leave it off.
148
+
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)
0 commit comments