From 657a24bf7df6ded1f0ebe6115f93128fdfafb4b6 Mon Sep 17 00:00:00 2001 From: hi-rustin Date: Thu, 10 Jun 2021 15:14:52 +0800 Subject: [PATCH] Make clippy happy --- src/cargo/ops/cargo_compile.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/cargo_compile.rs b/src/cargo/ops/cargo_compile.rs index 6499c8aea2c..3efc4494858 100644 --- a/src/cargo/ops/cargo_compile.rs +++ b/src/cargo/ops/cargo_compile.rs @@ -1140,7 +1140,7 @@ fn generate_targets( // else, silently skip target. } let mut units: Vec<_> = units.into_iter().collect(); - unmatched_target_filters(&units, &filter, &mut ws.config().shell())?; + unmatched_target_filters(&units, filter, &mut ws.config().shell())?; // Keep the roots in a consistent order, which helps with checking test output. units.sort_unstable();