Remove repeated section and make file path generic

This commit is contained in:
Eduardo Bautista 2014-08-19 00:19:22 -07:00
parent 6b26aaea3e
commit 48c0f596a7

View File

@ -2754,19 +2754,9 @@ mod hello {
This will work:
```{notrust,ignore}
$ cargo build
Compiling modules v0.0.1 (file:///home/you/projects/modules)
$
```
Before we move on, let me show you one more Cargo command: `run`. `cargo run`
is kind of like `cargo build`, but it also then runs the produced exectuable.
Try it out:
```{notrust,ignore}
$ cargo run
Compiling modules v0.0.1 (file:///home/steve/tmp/modules)
Compiling modules v0.0.1 (file:///home/you/projects/modules)
Running `target/modules`
Hello, world!
$