diff --git a/src/doc/man/cargo-rustc.md b/src/doc/man/cargo-rustc.md
index 279c6dbd13d..e60b12e8d4d 100644
--- a/src/doc/man/cargo-rustc.md
+++ b/src/doc/man/cargo-rustc.md
@@ -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 }}
diff --git a/src/doc/man/generated_txt/cargo-bench.txt b/src/doc/man/generated_txt/cargo-bench.txt
index 287348b82ea..a7013a07764 100644
--- a/src/doc/man/generated_txt/cargo-bench.txt
+++ b/src/doc/man/generated_txt/cargo-bench.txt
@@ -236,7 +236,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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-build.txt b/src/doc/man/generated_txt/cargo-build.txt
index 06a7a6b3ca7..db39e2011a3 100644
--- a/src/doc/man/generated_txt/cargo-build.txt
+++ b/src/doc/man/generated_txt/cargo-build.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-check.txt b/src/doc/man/generated_txt/cargo-check.txt
index b447455eec5..5a3ea18f4ca 100644
--- a/src/doc/man/generated_txt/cargo-check.txt
+++ b/src/doc/man/generated_txt/cargo-check.txt
@@ -161,7 +161,7 @@ OPTIONS
the test cfg option. See rustc tests
for more detail.
- See the the reference
+ See the reference
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-doc.txt b/src/doc/man/generated_txt/cargo-doc.txt
index 773d600c6d7..f34e08df9cd 100644
--- a/src/doc/man/generated_txt/cargo-doc.txt
+++ b/src/doc/man/generated_txt/cargo-doc.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-fix.txt b/src/doc/man/generated_txt/cargo-fix.txt
index 3e7910ca50e..474c2beb38f 100644
--- a/src/doc/man/generated_txt/cargo-fix.txt
+++ b/src/doc/man/generated_txt/cargo-fix.txt
@@ -234,7 +234,7 @@ OPTIONS
the test cfg option. See rustc tests
for more detail.
- See the the reference
+ See the reference
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-install.txt b/src/doc/man/generated_txt/cargo-install.txt
index 02790f1d092..bd2cc9c72c6 100644
--- a/src/doc/man/generated_txt/cargo-install.txt
+++ b/src/doc/man/generated_txt/cargo-install.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-run.txt b/src/doc/man/generated_txt/cargo-run.txt
index 495a08a6c92..00e629337fe 100644
--- a/src/doc/man/generated_txt/cargo-run.txt
+++ b/src/doc/man/generated_txt/cargo-run.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-rustc.txt b/src/doc/man/generated_txt/cargo-rustc.txt
index af6ad9d59d4..866361e936f 100644
--- a/src/doc/man/generated_txt/cargo-rustc.txt
+++ b/src/doc/man/generated_txt/cargo-rustc.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-rustdoc.txt b/src/doc/man/generated_txt/cargo-rustdoc.txt
index 5ba20064480..3237c4cae95 100644
--- a/src/doc/man/generated_txt/cargo-rustdoc.txt
+++ b/src/doc/man/generated_txt/cargo-rustdoc.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/generated_txt/cargo-test.txt b/src/doc/man/generated_txt/cargo-test.txt
index b992d0d2f62..598c8f9aff3 100644
--- a/src/doc/man/generated_txt/cargo-test.txt
+++ b/src/doc/man/generated_txt/cargo-test.txt
@@ -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
for more
details on profiles.
diff --git a/src/doc/man/includes/options-profile-legacy-check.md b/src/doc/man/includes/options-profile-legacy-check.md
index 0ec82e69399..cb38df0f947 100644
--- a/src/doc/man/includes/options-profile-legacy-check.md
+++ b/src/doc/man/includes/options-profile-legacy-check.md
@@ -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}}
diff --git a/src/doc/man/includes/options-profile.md b/src/doc/man/includes/options-profile.md
index 2452e7b1441..242ca225457 100644
--- a/src/doc/man/includes/options-profile.md
+++ b/src/doc/man/includes/options-profile.md
@@ -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}}
diff --git a/src/doc/src/commands/cargo-bench.md b/src/doc/src/commands/cargo-bench.md
index 3a8cdce1b05..d50b35f11c5 100644
--- a/src/doc/src/commands/cargo-bench.md
+++ b/src/doc/src/commands/cargo-bench.md
@@ -278,7 +278,7 @@ target artifacts are placed in a separate directory. See the
--profile
name
Benchmark with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-build.md b/src/doc/src/commands/cargo-build.md
index 8e517bd1f3b..70c38a05b13 100644
--- a/src/doc/src/commands/cargo-build.md
+++ b/src/doc/src/commands/cargo-build.md
@@ -199,7 +199,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Build with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-check.md b/src/doc/src/commands/cargo-check.md
index 3d7d0a49034..1bb0f85c18e 100644
--- a/src/doc/src/commands/cargo-check.md
+++ b/src/doc/src/commands/cargo-check.md
@@ -198,7 +198,7 @@ See also the --profile
option for choosing a specific profile by na
test mode which will enable checking tests and enable the test
cfg option.
See rustc tests for more
detail.
-See the the reference for more details on profiles.
+
See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-doc.md b/src/doc/src/commands/cargo-doc.md
index 92843838c1b..aebb04c9dd6 100644
--- a/src/doc/src/commands/cargo-doc.md
+++ b/src/doc/src/commands/cargo-doc.md
@@ -172,7 +172,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Document with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-fix.md b/src/doc/src/commands/cargo-fix.md
index 4dde83d9624..9211cf7f830 100644
--- a/src/doc/src/commands/cargo-fix.md
+++ b/src/doc/src/commands/cargo-fix.md
@@ -278,7 +278,7 @@ See also the --profile
option for choosing a specific profile by na
test mode which will enable checking tests and enable the test
cfg option.
See rustc tests for more
detail.
-See the the reference for more details on profiles.
+
See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-install.md b/src/doc/src/commands/cargo-install.md
index 5640af87a56..e289c41f3ba 100644
--- a/src/doc/src/commands/cargo-install.md
+++ b/src/doc/src/commands/cargo-install.md
@@ -242,7 +242,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Install with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-run.md b/src/doc/src/commands/cargo-run.md
index c14ad77dcb9..8c24b83529e 100644
--- a/src/doc/src/commands/cargo-run.md
+++ b/src/doc/src/commands/cargo-run.md
@@ -111,7 +111,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Run with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-rustc.md b/src/doc/src/commands/cargo-rustc.md
index 6ae52d9657a..f58c8fddaee 100644
--- a/src/doc/src/commands/cargo-rustc.md
+++ b/src/doc/src/commands/cargo-rustc.md
@@ -197,7 +197,7 @@ tests for more detail.
bench
— Builds in the same was as the cargo-bench(1) command,
similar to the test
profile.
-See the the reference for more details on profiles.
+
See the reference for more details on profiles.
--ignore-rust-version
diff --git a/src/doc/src/commands/cargo-rustdoc.md b/src/doc/src/commands/cargo-rustdoc.md
index 6635cded58d..2e0e67d972c 100644
--- a/src/doc/src/commands/cargo-rustdoc.md
+++ b/src/doc/src/commands/cargo-rustdoc.md
@@ -191,7 +191,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Document with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/doc/src/commands/cargo-test.md b/src/doc/src/commands/cargo-test.md
index 6a6ae82d2bf..ef978570ea8 100644
--- a/src/doc/src/commands/cargo-test.md
+++ b/src/doc/src/commands/cargo-test.md
@@ -307,7 +307,7 @@ See also the --profile
option for choosing a specific profile by na
--profile
name
Test with the given profile.
-See the the reference for more details on profiles.
+See the reference for more details on profiles.
diff --git a/src/etc/man/cargo-bench.1 b/src/etc/man/cargo-bench.1
index 8ae3aa6a779..0f5a993e0cc 100644
--- a/src/etc/man/cargo-bench.1
+++ b/src/etc/man/cargo-bench.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-build.1 b/src/etc/man/cargo-build.1
index 6bcfe8093dc..4194d7b77d3 100644
--- a/src/etc/man/cargo-build.1
+++ b/src/etc/man/cargo-build.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-check.1 b/src/etc/man/cargo-check.1
index fdbb84647a4..43d570058f8 100644
--- a/src/etc/man/cargo-check.1
+++ b/src/etc/man/cargo-check.1
@@ -190,7 +190,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
See \fIrustc tests\fR for more
detail.
.sp
-See the \fIthe reference\fR for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-doc.1 b/src/etc/man/cargo-doc.1
index 2bdd8867b2b..69f781de6ae 100644
--- a/src/etc/man/cargo-doc.1
+++ b/src/etc/man/cargo-doc.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-fix.1 b/src/etc/man/cargo-fix.1
index 61083f21423..1f10f179be5 100644
--- a/src/etc/man/cargo-fix.1
+++ b/src/etc/man/cargo-fix.1
@@ -285,7 +285,7 @@ test mode which will enable checking tests and enable the \fBtest\fR cfg option.
See \fIrustc tests\fR for more
detail.
.sp
-See the \fIthe reference\fR for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-install.1 b/src/etc/man/cargo-install.1
index 5ca3180fda7..06ad68a3abd 100644
--- a/src/etc/man/cargo-install.1
+++ b/src/etc/man/cargo-install.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-run.1 b/src/etc/man/cargo-run.1
index 2938146743b..2ecbbcf6529 100644
--- a/src/etc/man/cargo-run.1
+++ b/src/etc/man/cargo-run.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-rustc.1 b/src/etc/man/cargo-rustc.1
index 501e9208eb0..f3535b0f0c1 100644
--- a/src/etc/man/cargo-rustc.1
+++ b/src/etc/man/cargo-rustc.1
@@ -194,7 +194,7 @@ tests\fR for more detail.
similar to the \fBtest\fR profile.
.RE
.sp
-See the \fIthe reference\fR for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-rustdoc.1 b/src/etc/man/cargo-rustdoc.1
index 0335d6e5484..72a182de8c0 100644
--- a/src/etc/man/cargo-rustdoc.1
+++ b/src/etc/man/cargo-rustdoc.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR
diff --git a/src/etc/man/cargo-test.1 b/src/etc/man/cargo-test.1
index 8e460e167f6..46700014789 100644
--- a/src/etc/man/cargo-test.1
+++ b/src/etc/man/cargo-test.1
@@ -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 for more details on profiles.
+See \fIthe reference\fR for more details on profiles.
.RE
.sp
\fB\-\-ignore\-rust\-version\fR