From 7e6c487b9cb0addabe8729118e0dbb5eba92feb9 Mon Sep 17 00:00:00 2001 From: 4TT1L4 <2914096+4TT1L4@users.noreply.github.com> Date: Thu, 25 Aug 2022 13:50:11 +0200 Subject: [PATCH] Update cargo-toml-vs-cargo-lock.md - Improved wording ('rev' is not a line) --- src/doc/src/guide/cargo-toml-vs-cargo-lock.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/doc/src/guide/cargo-toml-vs-cargo-lock.md b/src/doc/src/guide/cargo-toml-vs-cargo-lock.md index 80e3aa8d1e5..9b0426684bf 100644 --- a/src/doc/src/guide/cargo-toml-vs-cargo-lock.md +++ b/src/doc/src/guide/cargo-toml-vs-cargo-lock.md @@ -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]