Skip to content

Commit d55d269

Browse files
committed
style: Make clippy happy
1 parent 066c219 commit d55d269

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci/src/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn test(args: TestArgs) -> bool {
5858
}
5959

6060
if let Some(features) = &features {
61-
command.args(&["--features", features]);
61+
command.args(["--features", features]);
6262
}
6363

6464
println!("running {:?}", command);

src/fmt/writer/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ impl Builder {
165165
}
166166

167167
/// Whether or not to capture logs for `cargo test`.
168+
#[allow(clippy::wrong_self_convention)]
168169
pub(crate) fn is_test(&mut self, is_test: bool) -> &mut Self {
169170
self.is_test = is_test;
170171
self

0 commit comments

Comments
 (0)