From f49ccd70d9db255a613d93285e36c50497f102f8 Mon Sep 17 00:00:00 2001 From: bahdotsh Date: Wed, 27 Aug 2025 15:45:58 +0530 Subject: [PATCH] fix(runtime): remove unnecessary borrow in Windows taskkill command - Fix clippy needless_borrows_for_generic_args warning - Change &pid.to_string() to pid.to_string() for taskkill /PID argument - Ensure clippy passes with -D warnings on Windows builds --- crates/runtime/src/emulation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/runtime/src/emulation.rs b/crates/runtime/src/emulation.rs index a70292f..ef649bb 100644 --- a/crates/runtime/src/emulation.rs +++ b/crates/runtime/src/emulation.rs @@ -793,7 +793,7 @@ async fn cleanup_processes() { let _ = Command::new("taskkill") .arg("/F") .arg("/PID") - .arg(&pid.to_string()) + .arg(pid.to_string()) .output(); }