@@ -23,13 +23,13 @@ references:
2323
2424[ Rustup] is the Rust toolchain installer. Among other things, it enables
2525switching between different flavors of the toolchain (stable, beta, nightly),
26- managing additional components installation and keeping them up to date.
26+ managing the installation of additional components and keeping them up to date.
2727
2828<div class =" warning " >
2929
3030From a security perspective, ` rustup ` does perform all downloads over HTTPS,
3131but does not yet validate signatures of downloads. Protection against
32- downgrade attacks, certificate pinning, validation of signatures are still
32+ downgrade attacks, certificate pinning, and validation of signatures are still
3333works in progress.
3434In some cases, it may be preferable to opt for an alternative installation
3535method listed in the * Install* section of the official Rust website.
@@ -156,10 +156,10 @@ It has a fundamental role in most Rust developments:
156156- It’s also a front-end to run complementary tools such as those that are
157157 described below, in the form of sub-commands.
158158
159- Cargo enables automatic dependencies resolution before compilation
159+ Cargo enables automatic dependency resolution before compilation
160160by checking their checksums.
161- File ` Cargo.lock ` contains all dependencies checksums which are compared to
162- the one downloaded.
161+ The ` Cargo.lock ` file contains the checksums of all dependencies, which are compared to
162+ the ones downloaded.
163163If a difference is detected, compilation fails:
164164
165165```
@@ -181,14 +181,14 @@ the file is overwritten with the latest available version of every crate.
181181
182182<div class =" reco " id =" DENV-CARGO-LOCK " type =" Rule " title =" Track Cargo.lock in version control system " >
183183
184- ` Cargo.lock ` files MUST be tracked by version control system.
184+ ` Cargo.lock ` files MUST be tracked by a version control system.
185185
186186</div >
187187
188188<div class =" warning " >
189189
190190Ongoing discussions occur on how to best protect
191- and verify crates * on their first download* (according TOFU rule).
191+ and verify crates * on their first download* (according to the TOFU rule).
192192For now, the security of the first download relies on the good security of the
193193website [ crates.io] and the GitHub hosted repository containing the
194194registry index. In some cases, it may be preferable to opt for an alternative
@@ -219,7 +219,7 @@ in development profiles' sections (`[profile.dev]` and `[profile.test]`).
219219
220220</div >
221221
222- Cargo proposes other ways to setup its configuration and change its behavior on
222+ Cargo proposes other ways to set up its configuration and change its behavior on
223223a given system. This can be very useful, but it may also be difficult to know
224224and remember at a given time all the options that are effectively used, and
225225in particular passed to the compiler. At the end, this can affect the confidence
@@ -232,7 +232,7 @@ to use the Cargo build scripts feature.
232232<div class =" reco " id =" DENV-CARGO-ENVVARS " type =" Rule " title =" Keep default values for compiler environment variables when running cargo " >
233233
234234The environment variables ` RUSTC ` , ` RUSTC_WRAPPER ` and ` RUSTFLAGS ` MUST NOT
235- be overriden when using Cargo to build the project.
235+ be overridden when using Cargo to build the project.
236236
237237</div >
238238
@@ -268,7 +268,7 @@ guidelines.
268268
269269### Cargo fix
270270
271- The ` cargo fix ` command is a tool dedicated in
271+ The ` cargo fix ` command is a tool dedicated to
272272fixing compiler warnings as well as easing transitions between editions.
273273
274274``` shell
@@ -313,7 +313,7 @@ detect. The warnings should be re-checked by the programmer before committing
313313the fix that is suggested by ` clippy ` , especially in the case of lints of the
314314category ` clippy::nursery ` since those hints are still under development.
315315
316- ` clippy ` now has similar ` fix ` tool as ` rustfix `
316+ ` clippy ` now has a ` fix ` tool similar to ` cargo fix ` .
317317
318318[ clippy ] : https://github.com/rust-lang/rust-clippy
319319
0 commit comments