docs: fix typos

This commit is contained in:
shuoer86 2023-10-19 21:01:09 +08:00
parent a275529de2
commit 6c2579184a
No known key found for this signature in database
GPG Key ID: 84A704A15F88ADAD
33 changed files with 33 additions and 33 deletions

View File

@ -65,7 +65,7 @@ The `rustc` subcommand will treat the following named profiles with special beha
* `bench` --- Builds in the same was as the {{man "cargo-bench" 1}} command,
similar to the `test` profile.
See the [the reference](../reference/profiles.html) for more details on profiles.
See [the reference](../reference/profiles.html) for more details on profiles.
{{/option}}
{{> options-ignore-rust-version }}

View File

@ -235,7 +235,7 @@ OPTIONS
documentation for more details.
--profile name
Benchmark with the given profile. See the the reference
Benchmark with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -157,7 +157,7 @@ OPTIONS
--profile option for choosing a specific profile by name.
--profile name
Build with the given profile. See the the reference
Build with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -161,7 +161,7 @@ OPTIONS
the test cfg option. See rustc tests
<https://doc.rust-lang.org/rustc/tests/index.html> for more detail.
See the the reference
See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -132,7 +132,7 @@ OPTIONS
--profile option for choosing a specific profile by name.
--profile name
Document with the given profile. See the the reference
Document with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -234,7 +234,7 @@ OPTIONS
the test cfg option. See rustc tests
<https://doc.rust-lang.org/rustc/tests/index.html> for more detail.
See the the reference
See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -212,7 +212,7 @@ OPTIONS
the --profile option for choosing a specific profile by name.
--profile name
Install with the given profile. See the the reference
Install with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -80,7 +80,7 @@ OPTIONS
--profile option for choosing a specific profile by name.
--profile name
Run with the given profile. See the the reference
Run with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -165,7 +165,7 @@ OPTIONS
o bench — Builds in the same was as the cargo-bench(1) command,
similar to the test profile.
See the the reference
See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -148,7 +148,7 @@ OPTIONS
--profile option for choosing a specific profile by name.
--profile name
Document with the given profile. See the the reference
Document with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -262,7 +262,7 @@ OPTIONS
--profile option for choosing a specific profile by name.
--profile name
Test with the given profile. See the the reference
Test with the given profile. See the reference
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
details on profiles.

View File

@ -6,5 +6,5 @@ test mode which will enable checking tests and enable the `test` cfg option.
See [rustc tests](https://doc.rust-lang.org/rustc/tests/index.html) for more
detail.
See the [the reference](../reference/profiles.html) for more details on profiles.
See [the reference](../reference/profiles.html) for more details on profiles.
{{/option}}

View File

@ -1,4 +1,4 @@
{{#option "`--profile` _name_" }}
{{actionverb}} with the given profile.
See the [the reference](../reference/profiles.html) for more details on profiles.
See [the reference](../reference/profiles.html) for more details on profiles.
{{/option}}

View File

@ -278,7 +278,7 @@ target artifacts are placed in a separate directory. See the
<dt class="option-term" id="option-cargo-bench---profile"><a class="option-anchor" href="#option-cargo-bench---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Benchmark with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -199,7 +199,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-build---profile"><a class="option-anchor" href="#option-cargo-build---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Build with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -198,7 +198,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
test mode which will enable checking tests and enable the <code>test</code> cfg option.
See <a href="https://doc.rust-lang.org/rustc/tests/index.html">rustc tests</a> for more
detail.</p>
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -172,7 +172,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-doc---profile"><a class="option-anchor" href="#option-cargo-doc---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Document with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -278,7 +278,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
test mode which will enable checking tests and enable the <code>test</code> cfg option.
See <a href="https://doc.rust-lang.org/rustc/tests/index.html">rustc tests</a> for more
detail.</p>
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -242,7 +242,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-install---profile"><a class="option-anchor" href="#option-cargo-install---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Install with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -111,7 +111,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-run---profile"><a class="option-anchor" href="#option-cargo-run---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Run with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -197,7 +197,7 @@ tests</a> for more detail.</li>
<li><code>bench</code> — Builds in the same was as the <a href="cargo-bench.html">cargo-bench(1)</a> command,
similar to the <code>test</code> profile.</li>
</ul>
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
<dt class="option-term" id="option-cargo-rustc---ignore-rust-version"><a class="option-anchor" href="#option-cargo-rustc---ignore-rust-version"></a><code>--ignore-rust-version</code></dt>

View File

@ -191,7 +191,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-rustdoc---profile"><a class="option-anchor" href="#option-cargo-rustdoc---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Document with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -307,7 +307,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
<dt class="option-term" id="option-cargo-test---profile"><a class="option-anchor" href="#option-cargo-test---profile"></a><code>--profile</code> <em>name</em></dt>
<dd class="option-desc">Test with the given profile.
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>

View File

@ -282,7 +282,7 @@ target artifacts are placed in a separate directory. See the
\fB\-\-profile\fR \fIname\fR
.RS 4
Benchmark with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -188,7 +188,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Build with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -190,7 +190,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
See \fIrustc tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more
detail.
.sp
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -157,7 +157,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Document with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -285,7 +285,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
See \fIrustc tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more
detail.
.sp
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -270,7 +270,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Install with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -94,7 +94,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Run with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -194,7 +194,7 @@ tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more detail.
similar to the \fBtest\fR profile.
.RE
.sp
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -176,7 +176,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Document with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR

View File

@ -309,7 +309,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
\fB\-\-profile\fR \fIname\fR
.RS 4
Test with the given profile.
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR