From 090be67d31489f9824e39581beb08edf20d770f1 Mon Sep 17 00:00:00 2001 From: Alexx Roche Date: Thu, 11 Jun 2020 13:00:49 +0200 Subject: [PATCH] Not mandatory with cargo 1.41.0-nightly ```bash $ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.02s Running `target/debug/adder` Hello, world! 10 plus one is 11! ``` --- src/ch14-03-cargo-workspaces.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ch14-03-cargo-workspaces.md b/src/ch14-03-cargo-workspaces.md index 64f7bb38a3..aae75f9eaa 100644 --- a/src/ch14-03-cargo-workspaces.md +++ b/src/ch14-03-cargo-workspaces.md @@ -168,8 +168,8 @@ $ cargo build Finished dev [unoptimized + debuginfo] target(s) in 0.68s ``` -To run the binary crate from the *add* directory, we need to specify which -package in the workspace we want to use by using the `-p` argument and the +To run the binary crate from the *add* directory, we can specify which +package in the workspace we want to run by using the `-p` argument and the package name with `cargo run`: