Skip to content

Commit c566280

Browse files
committed
docs: fix typos
1 parent a275529 commit c566280

34 files changed

+361
-33
lines changed

0001-docs-fix-typo.patch

Lines changed: 328 additions & 0 deletions
Large diffs are not rendered by default.

src/doc/man/cargo-rustc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The `rustc` subcommand will treat the following named profiles with special beha
6565
* `bench` --- Builds in the same was as the {{man "cargo-bench" 1}} command,
6666
similar to the `test` profile.
6767

68-
See the [the reference](../reference/profiles.html) for more details on profiles.
68+
See [the reference](../reference/profiles.html) for more details on profiles.
6969
{{/option}}
7070

7171
{{> options-ignore-rust-version }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ OPTIONS
235235
documentation for more details.
236236

237237
--profile name
238-
Benchmark with the given profile. See the the reference
238+
Benchmark with the given profile. See the reference
239239
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
240240
details on profiles.
241241

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ OPTIONS
157157
--profile option for choosing a specific profile by name.
158158

159159
--profile name
160-
Build with the given profile. See the the reference
160+
Build with the given profile. See the reference
161161
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
162162
details on profiles.
163163

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ OPTIONS
161161
the test cfg option. See rustc tests
162162
<https://doc.rust-lang.org/rustc/tests/index.html> for more detail.
163163

164-
See the the reference
164+
See the reference
165165
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
166166
details on profiles.
167167

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ OPTIONS
132132
--profile option for choosing a specific profile by name.
133133

134134
--profile name
135-
Document with the given profile. See the the reference
135+
Document with the given profile. See the reference
136136
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
137137
details on profiles.
138138

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ OPTIONS
234234
the test cfg option. See rustc tests
235235
<https://doc.rust-lang.org/rustc/tests/index.html> for more detail.
236236

237-
See the the reference
237+
See the reference
238238
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
239239
details on profiles.
240240

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ OPTIONS
212212
the --profile option for choosing a specific profile by name.
213213

214214
--profile name
215-
Install with the given profile. See the the reference
215+
Install with the given profile. See the reference
216216
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
217217
details on profiles.
218218

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ OPTIONS
8080
--profile option for choosing a specific profile by name.
8181

8282
--profile name
83-
Run with the given profile. See the the reference
83+
Run with the given profile. See the reference
8484
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
8585
details on profiles.
8686

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ OPTIONS
165165
o bench — Builds in the same was as the cargo-bench(1) command,
166166
similar to the test profile.
167167

168-
See the the reference
168+
See the reference
169169
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
170170
details on profiles.
171171

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ OPTIONS
148148
--profile option for choosing a specific profile by name.
149149

150150
--profile name
151-
Document with the given profile. See the the reference
151+
Document with the given profile. See the reference
152152
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
153153
details on profiles.
154154

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ OPTIONS
262262
--profile option for choosing a specific profile by name.
263263

264264
--profile name
265-
Test with the given profile. See the the reference
265+
Test with the given profile. See the reference
266266
<https://doc.rust-lang.org/cargo/reference/profiles.html> for more
267267
details on profiles.
268268

src/doc/man/includes/options-profile-legacy-check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ test mode which will enable checking tests and enable the `test` cfg option.
66
See [rustc tests](https://doc.rust-lang.org/rustc/tests/index.html) for more
77
detail.
88

9-
See the [the reference](../reference/profiles.html) for more details on profiles.
9+
See [the reference](../reference/profiles.html) for more details on profiles.
1010
{{/option}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{{#option "`--profile` _name_" }}
22
{{actionverb}} with the given profile.
3-
See the [the reference](../reference/profiles.html) for more details on profiles.
3+
See [the reference](../reference/profiles.html) for more details on profiles.
44
{{/option}}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ target artifacts are placed in a separate directory. See the
278278

279279
<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>
280280
<dd class="option-desc">Benchmark with the given profile.
281-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
281+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
282282

283283

284284

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
199199

200200
<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>
201201
<dd class="option-desc">Build with the given profile.
202-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
202+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
203203

204204

205205

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
198198
test mode which will enable checking tests and enable the <code>test</code> cfg option.
199199
See <a href="https://doc.rust-lang.org/rustc/tests/index.html">rustc tests</a> for more
200200
detail.</p>
201-
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
201+
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
202202

203203

204204

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
172172

173173
<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>
174174
<dd class="option-desc">Document with the given profile.
175-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
175+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
176176

177177

178178

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
278278
test mode which will enable checking tests and enable the <code>test</code> cfg option.
279279
See <a href="https://doc.rust-lang.org/rustc/tests/index.html">rustc tests</a> for more
280280
detail.</p>
281-
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
281+
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
282282

283283

284284

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
242242

243243
<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>
244244
<dd class="option-desc">Install with the given profile.
245-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
245+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
246246

247247

248248

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
111111

112112
<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>
113113
<dd class="option-desc">Run with the given profile.
114-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
114+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
115115

116116

117117

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ tests</a> for more detail.</li>
197197
<li><code>bench</code> — Builds in the same was as the <a href="cargo-bench.html">cargo-bench(1)</a> command,
198198
similar to the <code>test</code> profile.</li>
199199
</ul>
200-
<p>See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
200+
<p>See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
201201

202202

203203
<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>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
191191

192192
<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>
193193
<dd class="option-desc">Document with the given profile.
194-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
194+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
195195

196196

197197

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ See also the <code>--profile</code> option for choosing a specific profile by na
307307

308308
<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>
309309
<dd class="option-desc">Test with the given profile.
310-
See the <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
310+
See <a href="../reference/profiles.html">the reference</a> for more details on profiles.</dd>
311311

312312

313313

src/etc/man/cargo-bench.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ target artifacts are placed in a separate directory. See the
282282
\fB\-\-profile\fR \fIname\fR
283283
.RS 4
284284
Benchmark with the given profile.
285-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
285+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
286286
.RE
287287
.sp
288288
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-build.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
188188
\fB\-\-profile\fR \fIname\fR
189189
.RS 4
190190
Build with the given profile.
191-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
191+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
192192
.RE
193193
.sp
194194
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-check.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
190190
See \fIrustc tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more
191191
detail.
192192
.sp
193-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
193+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
194194
.RE
195195
.sp
196196
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-doc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
157157
\fB\-\-profile\fR \fIname\fR
158158
.RS 4
159159
Document with the given profile.
160-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
160+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
161161
.RE
162162
.sp
163163
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-fix.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
285285
See \fIrustc tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more
286286
detail.
287287
.sp
288-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
288+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
289289
.RE
290290
.sp
291291
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-install.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
270270
\fB\-\-profile\fR \fIname\fR
271271
.RS 4
272272
Install with the given profile.
273-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
273+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
274274
.RE
275275
.sp
276276
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-run.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
9494
\fB\-\-profile\fR \fIname\fR
9595
.RS 4
9696
Run with the given profile.
97-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
97+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
9898
.RE
9999
.sp
100100
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-rustc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ tests\fR <https://doc.rust\-lang.org/rustc/tests/index.html> for more detail.
194194
similar to the \fBtest\fR profile.
195195
.RE
196196
.sp
197-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
197+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
198198
.RE
199199
.sp
200200
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-rustdoc.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
176176
\fB\-\-profile\fR \fIname\fR
177177
.RS 4
178178
Document with the given profile.
179-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
179+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
180180
.RE
181181
.sp
182182
\fB\-\-ignore\-rust\-version\fR

src/etc/man/cargo-test.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ See also the \fB\-\-profile\fR option for choosing a specific profile by name.
309309
\fB\-\-profile\fR \fIname\fR
310310
.RS 4
311311
Test with the given profile.
312-
See the \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
312+
See \fIthe reference\fR <https://doc.rust\-lang.org/cargo/reference/profiles.html> for more details on profiles.
313313
.RE
314314
.sp
315315
\fB\-\-ignore\-rust\-version\fR

0 commit comments

Comments
 (0)