From c23cdb7acc3f0346cd6b176470061672d6543024 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Tue, 23 Aug 2016 23:15:36 -0300 Subject: [PATCH] Explain cargo run as it is in cargo guides --- src/ch01-02-hello-world.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch01-02-hello-world.md b/src/ch01-02-hello-world.md index 2f7a508fa..6d443016f 100644 --- a/src/ch01-02-hello-world.md +++ b/src/ch01-02-hello-world.md @@ -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