diff --git a/second-edition/src/ch14-03-cargo-workspaces.md b/second-edition/src/ch14-03-cargo-workspaces.md index c53ef854a..57741fe88 100644 --- a/second-edition/src/ch14-03-cargo-workspaces.md +++ b/second-edition/src/ch14-03-cargo-workspaces.md @@ -123,8 +123,8 @@ $ cargo build Finished debug [unoptimized + debuginfo] target(s) in 10.18 secs ``` -The top level *Cargo.lock* now contains information about the dependency -`add-one` has on `rand`. However, even though `rand` is used somewhere in the +The top level *Cargo.lock* now reflects the fact that `add-one` depends +on `rand`. However, even though `rand` is used somewhere in the workspace, we can't use it in other crates in the workspace unless we add `rand` to their *Cargo.toml* as well. If we add `extern crate rand;` to *src/main.rs* for the top level `adder` crate, for example, we'll get an error: