From d7bd6896cf9b8a8bcf7defb272732d59ebc4525f Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Mon, 1 Aug 2022 20:04:52 +0800 Subject: [PATCH] fix clippy --- crates/nu-system/src/foreground.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-system/src/foreground.rs b/crates/nu-system/src/foreground.rs index e30aed0cef..1e9cb8ca3c 100644 --- a/crates/nu-system/src/foreground.rs +++ b/crates/nu-system/src/foreground.rs @@ -45,9 +45,9 @@ pub mod external_process_setup { #[cfg(target_family = "windows")] pub mod external_process_setup { - pub fn prepare_to_foreground(external_command: &mut std::process::Command) {} + pub fn prepare_to_foreground(_external_command: &mut std::process::Command) {} - pub fn set_foreground(process: &std::process::Child) {} + pub fn set_foreground(_process: &std::process::Child) {} pub fn reset_foreground_id() {} }