From 8f8b169e9d19326cbb3bcb29ec19adb71fbb4318 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 10 Aug 2024 14:55:27 +0200 Subject: [PATCH] clippy::explicit_iter_loop --- libsqlite3-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsqlite3-sys/build.rs b/libsqlite3-sys/build.rs index 318be03..87e6ffe 100644 --- a/libsqlite3-sys/build.rs +++ b/libsqlite3-sys/build.rs @@ -206,7 +206,7 @@ mod build_bundled { cfg.include(inc_dir.to_string_lossy().as_ref()); let lib_name = if is_windows { "libcrypto" } else { "crypto" }; println!("cargo:rustc-link-lib=dylib={lib_name}"); - for lib_dir_item in lib_dir.iter() { + for lib_dir_item in &lib_dir { println!("cargo:rustc-link-search={}", lib_dir_item.to_string_lossy()); } } else if is_apple {