Skip to content

Commit

Permalink
Update cargo-toml-vs-cargo-lock.md
Browse files Browse the repository at this point in the history
 - Improved wording ('rev' is not a line)
  • Loading branch information
4TT1L4 authored Aug 25, 2022
1 parent 9ded34a commit 7e6c487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/src/guide/cargo-toml-vs-cargo-lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ could happen. There could be more commits to `regex` in the meantime, and my
build would include new commits while yours would not. Therefore, we would
get different builds. This would be bad because we want reproducible builds.

We could fix this problem by putting a `rev` line in our `Cargo.toml`:
We could fix this problem by defining a specific `rev` value in our `Cargo.toml`,
so Cargo could know exactly which revision to use when building the package:

```toml
[dependencies]
Expand Down

0 comments on commit 7e6c487

Please sign in to comment.