Skip to content

Commit 0188900

Browse files
committed
amend documentation style to match repo
1 parent bdee4fa commit 0188900

32 files changed

+101
-71
lines changed

src/cargo/util/command_prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ pub trait ArgMatchesExt {
670670
bail!(
671671
"\"--target\" takes a target architecture as an argument.
672672
673-
Run `{cmd}` to see possible targets, or specify `host` for the host architecture."
673+
Run `{cmd}` to see possible targets."
674674
);
675675
}
676676
Ok(self._values_of("target"))

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ OPTIONS
242242
This may also be specified with the build.target config value
243243
<https://doc.rust-lang.org/cargo/reference/config.html>.
244244

245-
Note: Specifying this flag makes Cargo run in a different mode where
246-
the target artifacts are placed in a separate directory. See the
247-
build cache
245+
Note that specifying this flag makes Cargo run in a different mode
246+
where the target artifacts are placed in a separate directory. See
247+
the build cache
248248
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
249249
documentation for more details.
250250

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ OPTIONS
159159
This may also be specified with the build.target config value
160160
<https://doc.rust-lang.org/cargo/reference/config.html>.
161161

162-
Note: Specifying this flag makes Cargo run in a different mode where
163-
the target artifacts are placed in a separate directory. See the
164-
build cache
162+
Note that specifying this flag makes Cargo run in a different mode
163+
where the target artifacts are placed in a separate directory. See
164+
the build cache
165165
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
166166
documentation for more details.
167167

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ OPTIONS
156156
This may also be specified with the build.target config value
157157
<https://doc.rust-lang.org/cargo/reference/config.html>.
158158

159-
Note: Specifying this flag makes Cargo run in a different mode where
160-
the target artifacts are placed in a separate directory. See the
161-
build cache
159+
Note that specifying this flag makes Cargo run in a different mode
160+
where the target artifacts are placed in a separate directory. See
161+
the build cache
162162
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
163163
documentation for more details.
164164

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ OPTIONS
6767
This may also be specified with the build.target config value
6868
<https://doc.rust-lang.org/cargo/reference/config.html>.
6969

70-
Note: Specifying this flag makes Cargo run in a different mode where
71-
the target artifacts are placed in a separate directory. See the
72-
build cache
70+
Note that specifying this flag makes Cargo run in a different mode
71+
where the target artifacts are placed in a separate directory. See
72+
the build cache
7373
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
7474
documentation for more details.
7575

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ OPTIONS
134134
This may also be specified with the build.target config value
135135
<https://doc.rust-lang.org/cargo/reference/config.html>.
136136

137-
Note: Specifying this flag makes Cargo run in a different mode where
138-
the target artifacts are placed in a separate directory. See the
139-
build cache
137+
Note that specifying this flag makes Cargo run in a different mode
138+
where the target artifacts are placed in a separate directory. See
139+
the build cache
140140
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
141141
documentation for more details.
142142

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ OPTIONS
4747
This may also be specified with the build.target config value
4848
<https://doc.rust-lang.org/cargo/reference/config.html>.
4949

50-
Note: Specifying this flag makes Cargo run in a different mode where
51-
the target artifacts are placed in a separate directory. See the
52-
build cache
50+
Note that specifying this flag makes Cargo run in a different mode
51+
where the target artifacts are placed in a separate directory. See
52+
the build cache
5353
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
5454
documentation for more details.
5555

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ OPTIONS
230230
This may also be specified with the build.target config value
231231
<https://doc.rust-lang.org/cargo/reference/config.html>.
232232

233-
Note: Specifying this flag makes Cargo run in a different mode where
234-
the target artifacts are placed in a separate directory. See the
235-
build cache
233+
Note that specifying this flag makes Cargo run in a different mode
234+
where the target artifacts are placed in a separate directory. See
235+
the build cache
236236
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
237237
documentation for more details.
238238

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ OPTIONS
208208
This may also be specified with the build.target config value
209209
<https://doc.rust-lang.org/cargo/reference/config.html>.
210210

211-
Note: Specifying this flag makes Cargo run in a different mode where
212-
the target artifacts are placed in a separate directory. See the
213-
build cache
211+
Note that specifying this flag makes Cargo run in a different mode
212+
where the target artifacts are placed in a separate directory. See
213+
the build cache
214214
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
215215
documentation for more details.
216216

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ OPTIONS
210210
This may also be specified with the build.target config value
211211
<https://doc.rust-lang.org/cargo/reference/config.html>.
212212

213-
Note: Specifying this flag makes Cargo run in a different mode where
214-
the target artifacts are placed in a separate directory. See the
215-
build cache
213+
Note that specifying this flag makes Cargo run in a different mode
214+
where the target artifacts are placed in a separate directory. See
215+
the build cache
216216
<https://doc.rust-lang.org/cargo/reference/build-cache.html>
217217
documentation for more details.
218218

0 commit comments

Comments
 (0)