Skip to content

Commit

Permalink
Auto merge of #11394 - hi-rustin:rustin-patch-typo, r=weihanglo
Browse files Browse the repository at this point in the history
Fix typo `try use` -> `try to use`

See #11377 (comment)

r? `@weihanglo`
  • Loading branch information
bors committed Nov 20, 2022
2 parents 63fdd75 + a3eb31f commit 19f952f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cargo/ops/tree/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ pub fn build_and_print(ws: &Workspace<'_>, opts: &TreeOptions) -> CargoResult<()
ws.config().shell().warn(
"nothing to print.\n\n\
To find dependencies that require specific target platforms, \
try use option `--target all` first, and then narrow your search scope accordingly.",
try to use option `--target all` first, and then narrow your search scope accordingly.",
)?;
} else {
print(ws.config(), opts, root_indexes, &pkgs_to_prune, &graph)?;
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ foo v0.1.0 ([..]/foo)
[WARNING] nothing to print.
To find dependencies that require specific target platforms, \
try use option `--target all` first, and then narrow your search scope accordingly.
try to use option `--target all` first, and then narrow your search scope accordingly.
",
)
.run();
Expand Down

0 comments on commit 19f952f

Please sign in to comment.