Merge pull request #220 from spastorino/cargo_run

Explain cargo run as it is in cargo guides
This commit is contained in:
Carol (Nichols || Goulding)
2016-08-24 09:30:17 -04:00
committed by GitHub
+2 -2
View File
@@ -336,8 +336,8 @@ sparse. Realistically, you won't ever need to touch this file yourself; just
let Cargo handle it. let Cargo handle it.
We just built a project with `cargo build` and ran it with We just built a project with `cargo build` and ran it with
`./target/debug/hello_cargo`, but we can actually do both in one step with `./target/debug/hello_cargo`, but we can also use `cargo run` to compile
`cargo run` as follows: and then run:
```bash ```bash
$ cargo run $ cargo run