Skip to content

Commit

Permalink
Fix typo try use -> try to use
Browse files Browse the repository at this point in the history
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
  • Loading branch information
Rustin170506 committed Nov 20, 2022
1 parent 63fdd75 commit a3eb31f
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 a3eb31f

Please sign in to comment.