From 7a54b8a811734f305546e03a2643d0e102a3eddc Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 24 Mar 2024 21:29:13 +0000 Subject: [PATCH] fix needless borrow clippy warning for gcc on windows --- snmalloc-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snmalloc-sys/build.rs b/snmalloc-sys/build.rs index a1d02d8..c3efe1f 100644 --- a/snmalloc-sys/build.rs +++ b/snmalloc-sys/build.rs @@ -275,7 +275,7 @@ fn main() { if cfg!(all(windows, target_env = "gnu")) { let stdout = std::process::Command::new("gcc") - .args(&["-print-search-dirs"]) + .args(["-print-search-dirs"]) .output() .unwrap_or_else(|_| { eprintln!("Cannot run gcc.exe");