Skip to content

Commit

Permalink
clippy 1.83: silence zombie_processes false positive
Browse files Browse the repository at this point in the history
But now < 1.83 clippy would complain about an unknown lint, so
allow that, too.
  • Loading branch information
th1000s committed Nov 29, 2024
1 parent d33032f commit 658d7ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/subcommands/diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ pub fn diff(
eprintln!("Failed to execute the command '{diff_bin}': {err}");
return config.error_exit_code;
}
// 1.83 false positive, see rust-lang/rust-clippy/issues/13748
#[allow(unknown_lints)]
#[allow(clippy::zombie_processes)]
let mut diff_process = diff_process.unwrap();

if let Err(error) = delta::delta(
Expand Down

0 comments on commit 658d7ba

Please sign in to comment.