Skip to content

Commit aaf08a0

Browse files
committed
Auto merge of #11794 - ehuss:doc-typos, r=epage
Fix some doc typos
2 parents 5e76f34 + 441c969 commit aaf08a0

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/doc/man/cargo-rustc.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ See the [the reference](../reference/profiles.html) for more details on profiles
7474
{{#option "`--crate-type` _crate-type_"}}
7575
Build for the given crate type. This flag accepts a comma-separated list of
7676
1 or more crate types, of which the allowed values are the same as `crate-type`
77-
field in the manifest for configurating a Cargo target. See
77+
field in the manifest for configuring a Cargo target. See
7878
[`crate-type` field](../reference/cargo-targets.html#the-crate-type-field)
7979
for possible values.
8080

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ OPTIONS
196196
--crate-type crate-type
197197
Build for the given crate type. This flag accepts a comma-separated
198198
list of 1 or more crate types, of which the allowed values are the
199-
same as crate-type field in the manifest for configurating a Cargo
199+
same as crate-type field in the manifest for configuring a Cargo
200200
target. See crate-type field
201201
<https://doc.rust-lang.org/cargo/reference/cargo-targets.html#the-crate-type-field>
202202
for possible values.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ information about timing information.</li>
230230
<dt class="option-term" id="option-cargo-rustc---crate-type"><a class="option-anchor" href="#option-cargo-rustc---crate-type"></a><code>--crate-type</code> <em>crate-type</em></dt>
231231
<dd class="option-desc">Build for the given crate type. This flag accepts a comma-separated list of
232232
1 or more crate types, of which the allowed values are the same as <code>crate-type</code>
233-
field in the manifest for configurating a Cargo target. See
233+
field in the manifest for configuring a Cargo target. See
234234
<a href="../reference/cargo-targets.html#the-crate-type-field"><code>crate-type</code> field</a>
235235
for possible values.</p>
236236
<p>If the manifest contains a list, and <code>--crate-type</code> is provided,

src/doc/src/reference/config.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Environment variables will take precedence over TOML configuration files.
196196
Currently only integer, boolean, string and some array values are supported to
197197
be defined by environment variables. [Descriptions below](#configuration-keys)
198198
indicate which keys support environment variables and otherwise they are not
199-
supported due to [technicial issues](https://github.com/rust-lang/cargo/issues/5416).
199+
supported due to [technical issues](https://github.com/rust-lang/cargo/issues/5416).
200200

201201
In addition to the system above, Cargo recognizes a few other specific
202202
[environment variables][env].

src/doc/src/reference/registry-index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ The sparse protocol uses the `sparse+` protocol prefix in the registry URL. For
222222
the sparse index URL for [crates.io] is `sparse+https://index.crates.io/`.
223223

224224
The sparse protocol downloads each index file using an individual HTTP request. Since
225-
this results in a large number of small HTTP requests, performance is signficiantly
225+
this results in a large number of small HTTP requests, performance is significantly
226226
improved with a server that supports pipelining and HTTP/2.
227227

228228
##### Caching
@@ -245,7 +245,7 @@ or 451 "Unavailable For Legal Reasons" code.
245245
##### Sparse Limitations
246246
Since the URL of the registry is stored in the lockfile, it's not recommended to offer
247247
a registry with both protocols. Discussion about a transition plan is ongoing in issue
248-
[#10964]. The [crates.io] registry is an exception, since Cargo internally substitues
248+
[#10964]. The [crates.io] registry is an exception, since Cargo internally substitutes
249249
the equivalent git URL when the sparse protocol is used.
250250

251251
If a registry does offer both protocols, it's currently recommended to choose one protocol

src/etc/man/cargo-rustc.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ information about timing information.
229229
.RS 4
230230
Build for the given crate type. This flag accepts a comma\-separated list of
231231
1 or more crate types, of which the allowed values are the same as \fBcrate\-type\fR
232-
field in the manifest for configurating a Cargo target. See
232+
field in the manifest for configuring a Cargo target. See
233233
\fI\f(BIcrate\-type\fI field\fR <https://doc.rust\-lang.org/cargo/reference/cargo\-targets.html#the\-crate\-type\-field>
234234
for possible values.
235235
.sp

0 commit comments

Comments
 (0)