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
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

1 comment on commit 2d72323

@steveklabnik
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r+

Please sign in to comment.