From c89f719621c2660062a4cbbe5ed8bef44837bd4d Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 7 Nov 2022 11:19:12 +0100 Subject: [PATCH] Fix clippy lints --- ci/src/task.rs | 2 +- src/filter/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/src/task.rs b/ci/src/task.rs index 5cd9a70e..ed55bdda 100644 --- a/ci/src/task.rs +++ b/ci/src/task.rs @@ -58,7 +58,7 @@ pub fn test(args: TestArgs) -> bool { } if let Some(ref features) = features { - command.args(&["--features", features]); + command.args(["--features", features]); } println!("running {:?}", command); diff --git a/src/filter/mod.rs b/src/filter/mod.rs index 9ebeab0b..a02d6bc1 100644 --- a/src/filter/mod.rs +++ b/src/filter/mod.rs @@ -151,7 +151,7 @@ impl Filter { } if let Some(filter) = self.filter.as_ref() { - if !filter.is_match(&*record.args().to_string()) { + if !filter.is_match(&record.args().to_string()) { return false; } }