Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo try use -> try to use #11394

Merged
merged 1 commit into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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