Skip to content

Commit 19f952f

Browse files
committed
Auto merge of #11394 - hi-rustin:rustin-patch-typo, r=weihanglo
Fix typo `try use` -> `try to use` See #11377 (comment) r? `@weihanglo`
2 parents 63fdd75 + a3eb31f commit 19f952f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cargo/ops/tree/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ pub fn build_and_print(ws: &Workspace<'_>, opts: &TreeOptions) -> CargoResult<()
217217
ws.config().shell().warn(
218218
"nothing to print.\n\n\
219219
To find dependencies that require specific target platforms, \
220-
try use option `--target all` first, and then narrow your search scope accordingly.",
220+
try to use option `--target all` first, and then narrow your search scope accordingly.",
221221
)?;
222222
} else {
223223
print(ws.config(), opts, root_indexes, &pkgs_to_prune, &graph)?;

tests/testsuite/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ foo v0.1.0 ([..]/foo)
531531
[WARNING] nothing to print.
532532
533533
To find dependencies that require specific target platforms, \
534-
try use option `--target all` first, and then narrow your search scope accordingly.
534+
try to use option `--target all` first, and then narrow your search scope accordingly.
535535
",
536536
)
537537
.run();

0 commit comments

Comments
 (0)