From c93cbce00b24add1fdbe683ed908163b9527b50b 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");