Skip to content

Commit

Permalink
Merge pull request #3882 from rust-lang/push-vokpwyslpuyy
Browse files Browse the repository at this point in the history
Ch. 2: fix wording about `cargo update`
  • Loading branch information
chriskrycho authored Apr 10, 2024
2 parents 566589d + df98a0d commit e30d557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ch02-00-guessing-game-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ checked into source control with the rest of the code in your project.
When you *do* want to update a crate, Cargo provides the command `update`,
which will ignore the *Cargo.lock* file and figure out all the latest versions
that fit your specifications in *Cargo.toml*. Cargo will then write those
versions to the *Cargo.lock* file. Otherwise, by default, Cargo will only look
for versions greater than 0.8.5 and less than 0.9.0. If the `rand` crate has
versions to the *Cargo.lock* file. In this case, Cargo will only look for
versions greater than 0.8.5 and less than 0.9.0. If the `rand` crate has
released the two new versions 0.8.6 and 0.9.0, you would see the following if
you ran `cargo update`:

Expand Down

0 comments on commit e30d557

Please sign in to comment.