mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #14066 - ehuss:spelling, r=weihanglo
Fix some documentation misspellings This is a repost of #13903 with a few other fixes.
This commit is contained in:
commit
05e61b222a
@ -90,7 +90,7 @@ in the manifest settings. Setting examples to `bench = true` will build and
|
|||||||
run the example as a benchmark, replacing the example's `main` function with
|
run the example as a benchmark, replacing the example's `main` function with
|
||||||
the libtest harness.
|
the libtest harness.
|
||||||
|
|
||||||
Setting targets to `bench = false` will stop them from being bencharmked by
|
Setting targets to `bench = false` will stop them from being benchmarked by
|
||||||
default. Target selection options that take a target by name (such as
|
default. Target selection options that take a target by name (such as
|
||||||
`--example foo`) ignore the `bench` flag and will always benchmark the given
|
`--example foo`) ignore the `bench` flag and will always benchmark the given
|
||||||
target.
|
target.
|
||||||
|
@ -27,7 +27,7 @@ for a Rust API for reading the metadata.
|
|||||||
|
|
||||||
Within the same output format version, the compatibility is maintained, except
|
Within the same output format version, the compatibility is maintained, except
|
||||||
some scenarios. The following is a non-exhaustive list of changes that are not
|
some scenarios. The following is a non-exhaustive list of changes that are not
|
||||||
considersed as incompatible:
|
considered as incompatible:
|
||||||
|
|
||||||
* **Adding new fields** — New fields will be added when needed. Reserving this
|
* **Adding new fields** — New fields will be added when needed. Reserving this
|
||||||
helps Cargo evolve without bumping the format version too often.
|
helps Cargo evolve without bumping the format version too often.
|
||||||
|
@ -25,7 +25,7 @@ Cargo treats vendored sources as read-only as it does to registry and git source
|
|||||||
If you intend to modify a crate from a remote source,
|
If you intend to modify a crate from a remote source,
|
||||||
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
|
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
|
||||||
Cargo will then correctly handle the crate on incremental rebuilds,
|
Cargo will then correctly handle the crate on incremental rebuilds,
|
||||||
as it knowns that it is no longer a read-only dependency.
|
as it knows that it is no longer a read-only dependency.
|
||||||
|
|
||||||
## OPTIONS
|
## OPTIONS
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ OPTIONS
|
|||||||
build and run the example as a benchmark, replacing the example’s main
|
build and run the example as a benchmark, replacing the example’s main
|
||||||
function with the libtest harness.
|
function with the libtest harness.
|
||||||
|
|
||||||
Setting targets to bench = false will stop them from being bencharmked
|
Setting targets to bench = false will stop them from being benchmarked
|
||||||
by default. Target selection options that take a target by name (such as
|
by default. Target selection options that take a target by name (such as
|
||||||
--example foo) ignore the bench flag and will always benchmark the given
|
--example foo) ignore the bench flag and will always benchmark the given
|
||||||
target.
|
target.
|
||||||
|
@ -22,7 +22,7 @@ OUTPUT FORMAT
|
|||||||
Compatibility
|
Compatibility
|
||||||
Within the same output format version, the compatibility is maintained,
|
Within the same output format version, the compatibility is maintained,
|
||||||
except some scenarios. The following is a non-exhaustive list of changes
|
except some scenarios. The following is a non-exhaustive list of changes
|
||||||
that are not considersed as incompatible:
|
that are not considered as incompatible:
|
||||||
|
|
||||||
o Adding new fields — New fields will be added when needed. Reserving
|
o Adding new fields — New fields will be added when needed. Reserving
|
||||||
this helps Cargo evolve without bumping the format version too often.
|
this helps Cargo evolve without bumping the format version too often.
|
||||||
|
@ -22,7 +22,7 @@ DESCRIPTION
|
|||||||
git sources. If you intend to modify a crate from a remote source, use
|
git sources. If you intend to modify a crate from a remote source, use
|
||||||
[patch] or a path dependency pointing to a local copy of that crate.
|
[patch] or a path dependency pointing to a local copy of that crate.
|
||||||
Cargo will then correctly handle the crate on incremental rebuilds, as
|
Cargo will then correctly handle the crate on incremental rebuilds, as
|
||||||
it knowns that it is no longer a read-only dependency.
|
it knows that it is no longer a read-only dependency.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
Vendor Options
|
Vendor Options
|
||||||
|
@ -138,7 +138,7 @@ in the manifest settings. Setting examples to `bench = true` will build and
|
|||||||
run the example as a benchmark, replacing the example's `main` function with
|
run the example as a benchmark, replacing the example's `main` function with
|
||||||
the libtest harness.
|
the libtest harness.
|
||||||
|
|
||||||
Setting targets to `bench = false` will stop them from being bencharmked by
|
Setting targets to `bench = false` will stop them from being benchmarked by
|
||||||
default. Target selection options that take a target by name (such as
|
default. Target selection options that take a target by name (such as
|
||||||
`--example foo`) ignore the `bench` flag and will always benchmark the given
|
`--example foo`) ignore the `bench` flag and will always benchmark the given
|
||||||
target.
|
target.
|
||||||
|
@ -27,7 +27,7 @@ for a Rust API for reading the metadata.
|
|||||||
|
|
||||||
Within the same output format version, the compatibility is maintained, except
|
Within the same output format version, the compatibility is maintained, except
|
||||||
some scenarios. The following is a non-exhaustive list of changes that are not
|
some scenarios. The following is a non-exhaustive list of changes that are not
|
||||||
considersed as incompatible:
|
considered as incompatible:
|
||||||
|
|
||||||
* **Adding new fields** — New fields will be added when needed. Reserving this
|
* **Adding new fields** — New fields will be added when needed. Reserving this
|
||||||
helps Cargo evolve without bumping the format version too often.
|
helps Cargo evolve without bumping the format version too often.
|
||||||
|
@ -25,7 +25,7 @@ Cargo treats vendored sources as read-only as it does to registry and git source
|
|||||||
If you intend to modify a crate from a remote source,
|
If you intend to modify a crate from a remote source,
|
||||||
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
|
use `[patch]` or a `path` dependency pointing to a local copy of that crate.
|
||||||
Cargo will then correctly handle the crate on incremental rebuilds,
|
Cargo will then correctly handle the crate on incremental rebuilds,
|
||||||
as it knowns that it is no longer a read-only dependency.
|
as it knows that it is no longer a read-only dependency.
|
||||||
|
|
||||||
## OPTIONS
|
## OPTIONS
|
||||||
|
|
||||||
|
@ -1812,5 +1812,5 @@ See [Registry Authentication](registry-authentication.md) documentation for deta
|
|||||||
The `-Z check-cfg` feature has been stabilized in the 1.80 release by making it the
|
The `-Z check-cfg` feature has been stabilized in the 1.80 release by making it the
|
||||||
default behavior.
|
default behavior.
|
||||||
|
|
||||||
See the [build script documentation](build-scripts.md#rustc-check-cfg) for informations
|
See the [build script documentation](build-scripts.md#rustc-check-cfg) for information
|
||||||
about specifying custom cfgs.
|
about specifying custom cfgs.
|
||||||
|
@ -148,7 +148,7 @@ in the manifest settings. Setting examples to \fBbench = true\fR will build and
|
|||||||
run the example as a benchmark, replacing the example\[cq]s \fBmain\fR function with
|
run the example as a benchmark, replacing the example\[cq]s \fBmain\fR function with
|
||||||
the libtest harness.
|
the libtest harness.
|
||||||
.sp
|
.sp
|
||||||
Setting targets to \fBbench = false\fR will stop them from being bencharmked by
|
Setting targets to \fBbench = false\fR will stop them from being benchmarked by
|
||||||
default. Target selection options that take a target by name (such as
|
default. Target selection options that take a target by name (such as
|
||||||
\fB\-\-example foo\fR) ignore the \fBbench\fR flag and will always benchmark the given
|
\fB\-\-example foo\fR) ignore the \fBbench\fR flag and will always benchmark the given
|
||||||
target.
|
target.
|
||||||
|
@ -22,7 +22,7 @@ for a Rust API for reading the metadata.
|
|||||||
.SS "Compatibility"
|
.SS "Compatibility"
|
||||||
Within the same output format version, the compatibility is maintained, except
|
Within the same output format version, the compatibility is maintained, except
|
||||||
some scenarios. The following is a non\-exhaustive list of changes that are not
|
some scenarios. The following is a non\-exhaustive list of changes that are not
|
||||||
considersed as incompatible:
|
considered as incompatible:
|
||||||
.sp
|
.sp
|
||||||
.RS 4
|
.RS 4
|
||||||
\h'-04'\(bu\h'+02'\fBAdding new fields\fR \[em] New fields will be added when needed. Reserving this
|
\h'-04'\(bu\h'+02'\fBAdding new fields\fR \[em] New fields will be added when needed. Reserving this
|
||||||
|
@ -23,7 +23,7 @@ Cargo treats vendored sources as read\-only as it does to registry and git sourc
|
|||||||
If you intend to modify a crate from a remote source,
|
If you intend to modify a crate from a remote source,
|
||||||
use \fB[patch]\fR or a \fBpath\fR dependency pointing to a local copy of that crate.
|
use \fB[patch]\fR or a \fBpath\fR dependency pointing to a local copy of that crate.
|
||||||
Cargo will then correctly handle the crate on incremental rebuilds,
|
Cargo will then correctly handle the crate on incremental rebuilds,
|
||||||
as it knowns that it is no longer a read\-only dependency.
|
as it knows that it is no longer a read\-only dependency.
|
||||||
.SH "OPTIONS"
|
.SH "OPTIONS"
|
||||||
.SS "Vendor Options"
|
.SS "Vendor Options"
|
||||||
.sp
|
.sp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user