diff --git a/ci/src/task.rs b/ci/src/task.rs index b6740549..5ef844e7 100644 --- a/ci/src/task.rs +++ b/ci/src/task.rs @@ -58,7 +58,7 @@ pub fn test(args: TestArgs) -> bool { } if let Some(features) = &features { - command.args(&["--features", features]); + command.args(["--features", features]); } println!("running {:?}", command); diff --git a/src/fmt/writer/mod.rs b/src/fmt/writer/mod.rs index 2b56772e..7f4b6f94 100644 --- a/src/fmt/writer/mod.rs +++ b/src/fmt/writer/mod.rs @@ -165,6 +165,7 @@ impl Builder { } /// Whether or not to capture logs for `cargo test`. + #[allow(clippy::wrong_self_convention)] pub(crate) fn is_test(&mut self, is_test: bool) -> &mut Self { self.is_test = is_test; self