Skip to content

Commit 93f7b78

Browse files
committed
Auto merge of #12073 - roj1512:patch-1, r=arlosi
docs(commands): add missed preposition
2 parents ee7f4c3 + c4ba59f commit 93f7b78

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/doc/man/cargo-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Directory to install packages into.
173173
{{> options-target-dir }}
174174

175175
{{#option "`--debug`" }}
176-
Build with the `dev` profile instead the `release` profile.
176+
Build with the `dev` profile instead of the `release` profile.
177177
See also the `--profile` option for choosing a specific profile by name.
178178
{{/option}}
179179

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ OPTIONS
207207
workspace of the local crate unless --target-dir is specified.
208208

209209
--debug
210-
Build with the dev profile instead the release profile. See also the
211-
--profile option for choosing a specific profile by name.
210+
Build with the dev profile instead of the release profile. See also
211+
the --profile option for choosing a specific profile by name.
212212

213213
--profile name
214214
Install with the given profile. See the the reference

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ is specified.</dd>
238238

239239

240240
<dt class="option-term" id="option-cargo-install---debug"><a class="option-anchor" href="#option-cargo-install---debug"></a><code>--debug</code></dt>
241-
<dd class="option-desc">Build with the <code>dev</code> profile instead the <code>release</code> profile.
241+
<dd class="option-desc">Build with the <code>dev</code> profile instead of the <code>release</code> profile.
242242
See also the <code>--profile</code> option for choosing a specific profile by name.</dd>
243243

244244

src/etc/man/cargo-install.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ is specified.
263263
.sp
264264
\fB\-\-debug\fR
265265
.RS 4
266-
Build with the \fBdev\fR profile instead the \fBrelease\fR profile.
266+
Build with the \fBdev\fR profile instead of the \fBrelease\fR profile.
267267
See also the \fB\-\-profile\fR option for choosing a specific profile by name.
268268
.RE
269269
.sp

0 commit comments

Comments
 (0)