diff --git a/src/operations/build.rs b/src/operations/build.rs index 82178f2..50f21f0 100644 --- a/src/operations/build.rs +++ b/src/operations/build.rs @@ -17,7 +17,7 @@ pub fn build(matches: &ArgMatches) { .unwrap_or_default(); for pkg in &exclude { - packages.retain(|x| &*x != pkg); + packages.retain(|x| x != pkg); } if config.mode != "repository" {