Skip to content

Commit

Permalink
style: Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Nov 24, 2022
1 parent 066c219 commit d55d269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/src/task.rs
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/fmt/writer/mod.rs
Expand Up @@ -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
Expand Down

0 comments on commit d55d269

Please sign in to comment.