Skip to content

Commit 2d72323

Browse files
committed
doc: use the more convenient 'cargo run' command
This lovely command has already been introduced, so let's take advantage of it.
1 parent 16d538c commit 2d72323

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2682,9 +2682,9 @@ $ cargo new modules --bin
26822682
Let's double check our work by compiling:
26832683

26842684
```{bash,ignore}
2685-
$ cargo build
2685+
$ cargo run
26862686
Compiling modules v0.0.1 (file:///home/you/projects/modules)
2687-
$ ./target/modules
2687+
Running `target/modules`
26882688
Hello, world!
26892689
```
26902690

0 commit comments

Comments
 (0)