File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ with the Cargo team first.
99
1010For features that require behavior changes or new syntax in ` Cargo.toml ` , then
1111it will need a ` cargo-features ` value placed at the top of ` Cargo.toml ` to
12- enable it. The process for doing adding a new feature is described in the
12+ enable it. The process for adding a new feature is described in the
1313[ ` features ` module] . Code that implements the feature will need to manually
1414check that the feature is enabled for the current manifest.
1515
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ native library using [FFI].
172172
173173The ` LIB ` string is passed directly to rustc, so it supports any syntax that
174174` -l ` does. \
175- Currently the full supported syntax for ` LIB ` is ` [KIND[:MODIFIERS]=]NAME[:RENAME] ` .
175+ Currently the fully supported syntax for ` LIB ` is ` [KIND[:MODIFIERS]=]NAME[:RENAME] ` .
176176
177177The ` -l ` flag is only passed to the library target of the package, unless
178178there is no library target, in which case it is passed to all targets. This is
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ explaining the format of the entry.
179179 // An unsigned 32-bit integer value indicating the schema version of this
180180 // entry.
181181 //
182- // If this not specified, it should be interpreted as the default of 1.
182+ // If this is not specified, it should be interpreted as the default of 1.
183183 //
184184 // Cargo (starting with version 1.51) will ignore versions it does not
185185 // recognize. This provides a method to safely introduce changes to index
Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ solutions.
501501
502502### Why was a dependency included?
503503
504- Say you see dependency ` rand ` in the ` cargo check ` output but don't think its needed and want to understand why its being pulled in.
504+ Say you see dependency ` rand ` in the ` cargo check ` output but don't think it's needed and want to understand why it's being pulled in.
505505
506506You can run
507507``` console
Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ fn main() {
356356#### Minor: Adding ` repr(C) ` to a default representation {#repr-c-add}
357357
358358It is safe to add ` repr(C) ` to a struct, union, or enum with [ the default representation] .
359- This is safe because users should not make assumptions about the alignment, layout, or size of types with with the default representation.
359+ This is safe because users should not make assumptions about the alignment, layout, or size of types with the default representation.
360360
361361``` rust,ignore
362362// MINOR CHANGE
@@ -1010,7 +1010,7 @@ fn main() {
10101010```
10111011
10121012Mitigation strategies:
1013- * Do not add new new fields to all-public field structs.
1013+ * Do not add new fields to all-public field structs.
10141014* Mark structs as [ ` #[non_exhaustive] ` ] [ non_exhaustive ] when first introducing
10151015 a struct to prevent users from using struct literal syntax, and instead
10161016 provide a constructor method and/or [ Default] implementation.
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ cargo +nightly -Ztarget-applies-to-host build --target x86_64-unknown-linux-gnu
594594* Original Pull Request: [ #9322 ] ( https://github.com/rust-lang/cargo/pull/9322 )
595595* Tracking Issue: [ #9452 ] ( https://github.com/rust-lang/cargo/issues/9452 )
596596
597- The ` host ` key in a config file can be used pass flags to host build targets
597+ The ` host ` key in a config file can be used to pass flags to host build targets
598598such as build scripts that must run on the host system instead of the target
599599system when cross compiling. It supports both generic and host arch specific
600600tables. Matching host arch tables take precedence over generic host tables.
@@ -614,7 +614,7 @@ rustflags = ["-Clink-arg=--verbose"]
614614linker = " /path/to/target/linker"
615615```
616616
617- The generic ` host ` table above will be entirely ignored when building on a
617+ The generic ` host ` table above will be entirely ignored when building on an
618618` x86_64-unknown-linux-gnu ` host as the ` host.x86_64-unknown-linux-gnu ` table
619619takes precedence.
620620
You can’t perform that action at this time.
0 commit comments