diff --git a/src/lab.rs b/src/lab.rs index 502ab62b..8e6d54e8 100644 --- a/src/lab.rs +++ b/src/lab.rs @@ -162,6 +162,7 @@ pub fn test_unmutated_then_all_mutants( /// /// The [BuildDir] is passed as mutable because it's for the exclusive use of this function for the /// duration of the test. +#[allow(clippy::needless_pass_by_ref_mut)] fn test_scenario( tool: &dyn Tool, build_dir: &mut BuildDir, diff --git a/src/process.rs b/src/process.rs index 5911bcd7..bcf832ba 100644 --- a/src/process.rs +++ b/src/process.rs @@ -158,6 +158,7 @@ impl Process { } #[cfg(unix)] +#[allow(clippy::needless_pass_by_ref_mut)] // To match Windows fn terminate_child_impl(child: &mut Popen) -> Result<()> { use nix::errno::Errno; use nix::sys::signal::{killpg, Signal};