Skip to content

Commit 05e61b2

Browse files
committed
Auto merge of #14066 - ehuss:spelling, r=weihanglo
Fix some documentation misspellings This is a repost of #13903 with a few other fixes.
2 parents 9eee3fb + c65b7b2 commit 05e61b2

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

src/doc/man/cargo-bench.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ in the manifest settings. Setting examples to `bench = true` will build and
9090
run the example as a benchmark, replacing the example's `main` function with
9191
the libtest harness.
9292

93-
Setting targets to `bench = false` will stop them from being bencharmked by
93+
Setting targets to `bench = false` will stop them from being benchmarked by
9494
default. Target selection options that take a target by name (such as
9595
`--example foo`) ignore the `bench` flag and will always benchmark the given
9696
target.

src/doc/man/cargo-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for a Rust API for reading the metadata.
2727

2828
Within the same output format version, the compatibility is maintained, except
2929
some scenarios. The following is a non-exhaustive list of changes that are not
30-
considersed as incompatible:
30+
considered as incompatible:
3131

3232
* **Adding new fields** — New fields will be added when needed. Reserving this
3333
helps Cargo evolve without bumping the format version too often.

src/doc/man/cargo-vendor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Cargo treats vendored sources as read-only as it does to registry and git source
2525
If you intend to modify a crate from a remote source,
2626
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
2727
Cargo will then correctly handle the crate on incremental rebuilds,
28-
as it knowns that it is no longer a read-only dependency.
28+
as it knows that it is no longer a read-only dependency.
2929

3030
## OPTIONS
3131

src/doc/man/generated_txt/cargo-bench.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ OPTIONS
124124
build and run the example as a benchmark, replacing the example’s main
125125
function with the libtest harness.
126126

127-
Setting targets to bench = false will stop them from being bencharmked
127+
Setting targets to bench = false will stop them from being benchmarked
128128
by default. Target selection options that take a target by name (such as
129129
--example foo) ignore the bench flag and will always benchmark the given
130130
target.

src/doc/man/generated_txt/cargo-metadata.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ OUTPUT FORMAT
2222
Compatibility
2323
Within the same output format version, the compatibility is maintained,
2424
except some scenarios. The following is a non-exhaustive list of changes
25-
that are not considersed as incompatible:
25+
that are not considered as incompatible:
2626

2727
o Adding new fields — New fields will be added when needed. Reserving
2828
this helps Cargo evolve without bumping the format version too often.

src/doc/man/generated_txt/cargo-vendor.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DESCRIPTION
2222
git sources. If you intend to modify a crate from a remote source, use
2323
[patch] or a path dependency pointing to a local copy of that crate.
2424
Cargo will then correctly handle the crate on incremental rebuilds, as
25-
it knowns that it is no longer a read-only dependency.
25+
it knows that it is no longer a read-only dependency.
2626

2727
OPTIONS
2828
Vendor Options

src/doc/src/commands/cargo-bench.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ in the manifest settings. Setting examples to `bench = true` will build and
138138
run the example as a benchmark, replacing the example's `main` function with
139139
the libtest harness.
140140

141-
Setting targets to `bench = false` will stop them from being bencharmked by
141+
Setting targets to `bench = false` will stop them from being benchmarked by
142142
default. Target selection options that take a target by name (such as
143143
`--example foo`) ignore the `bench` flag and will always benchmark the given
144144
target.

src/doc/src/commands/cargo-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ for a Rust API for reading the metadata.
2727

2828
Within the same output format version, the compatibility is maintained, except
2929
some scenarios. The following is a non-exhaustive list of changes that are not
30-
considersed as incompatible:
30+
considered as incompatible:
3131

3232
* **Adding new fields** — New fields will be added when needed. Reserving this
3333
helps Cargo evolve without bumping the format version too often.

src/doc/src/commands/cargo-vendor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Cargo treats vendored sources as read-only as it does to registry and git source
2525
If you intend to modify a crate from a remote source,
2626
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
2727
Cargo will then correctly handle the crate on incremental rebuilds,
28-
as it knowns that it is no longer a read-only dependency.
28+
as it knows that it is no longer a read-only dependency.
2929

3030
## OPTIONS
3131

src/doc/src/reference/unstable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,5 +1812,5 @@ See [Registry Authentication](registry-authentication.md) documentation for deta
18121812
The `-Z check-cfg` feature has been stabilized in the 1.80 release by making it the
18131813
default behavior.
18141814

1815-
See the [build script documentation](build-scripts.md#rustc-check-cfg) for informations
1815+
See the [build script documentation](build-scripts.md#rustc-check-cfg) for information
18161816
about specifying custom cfgs.

src/etc/man/cargo-bench.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ in the manifest settings. Setting examples to \fBbench = true\fR will build and
148148
run the example as a benchmark, replacing the example\[cq]s \fBmain\fR function with
149149
the libtest harness.
150150
.sp
151-
Setting targets to \fBbench = false\fR will stop them from being bencharmked by
151+
Setting targets to \fBbench = false\fR will stop them from being benchmarked by
152152
default. Target selection options that take a target by name (such as
153153
\fB\-\-example foo\fR) ignore the \fBbench\fR flag and will always benchmark the given
154154
target.

src/etc/man/cargo-metadata.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ for a Rust API for reading the metadata.
2222
.SS "Compatibility"
2323
Within the same output format version, the compatibility is maintained, except
2424
some scenarios. The following is a non\-exhaustive list of changes that are not
25-
considersed as incompatible:
25+
considered as incompatible:
2626
.sp
2727
.RS 4
2828
\h'-04'\(bu\h'+02'\fBAdding new fields\fR \[em] New fields will be added when needed. Reserving this

src/etc/man/cargo-vendor.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Cargo treats vendored sources as read\-only as it does to registry and git sourc
2323
If you intend to modify a crate from a remote source,
2424
use \fB[patch]\fR or a \fBpath\fR dependency pointing to a local copy of that crate.
2525
Cargo will then correctly handle the crate on incremental rebuilds,
26-
as it knowns that it is no longer a read\-only dependency.
26+
as it knows that it is no longer a read\-only dependency.
2727
.SH "OPTIONS"
2828
.SS "Vendor Options"
2929
.sp

0 commit comments

Comments
 (0)