Skip to content

Commit

Permalink
doc: use the more convenient 'cargo run' command
Browse files Browse the repository at this point in the history
This lovely command has already been introduced, so let's take advantage
of it.
  • Loading branch information
tshepang committed Aug 24, 2014
1 parent 16d538c commit 2d72323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -2682,9 +2682,9 @@ $ cargo new modules --bin
Let's double check our work by compiling:

```{bash,ignore}
$ cargo build
$ cargo run
Compiling modules v0.0.1 (file:///home/you/projects/modules)
$ ./target/modules
Running `target/modules`
Hello, world!
```

Expand Down

0 comments on commit 2d72323

Please sign in to comment.