From f92f42f15f026a8cbafa755147cbf3d7a95ccbb3 Mon Sep 17 00:00:00 2001 From: Peter Allin Date: Tue, 31 Jan 2023 20:15:44 +0100 Subject: [PATCH] Fix warning message --- src/cargo/ops/cargo_install.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/cargo_install.rs b/src/cargo/ops/cargo_install.rs index 0ee99dcc5b0..c9fcbc40574 100644 --- a/src/cargo/ops/cargo_install.rs +++ b/src/cargo/ops/cargo_install.rs @@ -572,7 +572,7 @@ fn make_warning_about_missing_features(binaries: &[&Target]) -> String { let additional_bins_message = if binaries.len() > max_targets_listed { format!( - "\n{} more targets also requires features not enabled, see them in the Cargo.toml file.", + "\n{} more targets also requires features not enabled. See them in the Cargo.toml file.", binaries.len() - max_targets_listed ) } else {