Skip to content

Commit 716d401

Browse files
committedAug 25, 2022
Auto merge of #11021 - 4TT1L4:patch-1, r=weihanglo
Update cargo-toml-vs-cargo-lock.md - Improved wording ('rev' is not a line)
2 parents 9ded34a + 7e6c487 commit 716d401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/doc/src/guide/cargo-toml-vs-cargo-lock.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ could happen. There could be more commits to `regex` in the meantime, and my
4343
build would include new commits while yours would not. Therefore, we would
4444
get different builds. This would be bad because we want reproducible builds.
4545

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

4849
```toml
4950
[dependencies]

0 commit comments

Comments
 (0)
Please sign in to comment.