mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:54:34 -06:00
Merge pull request #220 from spastorino/cargo_run
Explain cargo run as it is in cargo guides
This commit is contained in:
@@ -336,8 +336,8 @@ sparse. Realistically, you won't ever need to touch this file yourself; just
|
||||
let Cargo handle it.
|
||||
|
||||
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
|
||||
`cargo run` as follows:
|
||||
`./target/debug/hello_cargo`, but we can also use `cargo run` to compile
|
||||
and then run:
|
||||
|
||||
```bash
|
||||
$ cargo run
|
||||
|
||||
Reference in New Issue
Block a user