Skip to content

Commit 352c81b

Browse files
committed
Merge pull request #20933 from gifnksm/patch-1
TRPL: `cargo build` doesn't run executables Reviewed-by: alexcrichton
2 parents f72c719 + add9225 commit 352c81b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/crates-and-modules.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ Also, note that we `pub use`d before we declared our `mod`s. Rust requires that
559559
This will build and run:
560560
561561
```bash
562-
$ cargo build
562+
$ cargo run
563563
Compiling phrases v0.0.1 (file:///home/you/projects/phrases)
564564
Running `target/phrases`
565565
Hello in English: Hello!

0 commit comments

Comments
 (0)