Skip to content

Commit 7e6c487

Browse files
authored
Update cargo-toml-vs-cargo-lock.md
- Improved wording ('rev' is not a line)
1 parent 9ded34a commit 7e6c487

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

Lines changed: 2 additions & 1 deletion
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)