Skip to content

Commit

Permalink
Ignore new Clippy format_push_string lint (#93)
Browse files Browse the repository at this point in the history
Fixes the CI build.

The suggested changes turn infallible code into one that ignores errors, not good! I'll just ignore this lint for now.

See also rust-lang/rust-clippy#9077 (comment)
  • Loading branch information
intgr authored Jul 12, 2022
1 parent cc11a57 commit 8f8601d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ fn run_sudo_command(
Ok(())
}

#[allow(clippy::format_push_string)]
fn machinectl_remote_command(remote_cmd: Vec<String>, envvars: Vec<String>, bare: bool) -> String {
let mut cmd = String::new();

Expand Down

0 comments on commit 8f8601d

Please sign in to comment.