From 19eaddcaac50d63109b83f2855aaa31fc38fab16 Mon Sep 17 00:00:00 2001 From: Murali Date: Tue, 4 Jun 2024 07:10:04 +0200 Subject: [PATCH] Fix clippy warnings --- crates/libduckdb-sys/openssl/find_vendored.rs | 1 - crates/libduckdb-sys/openssl/mod.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/libduckdb-sys/openssl/find_vendored.rs b/crates/libduckdb-sys/openssl/find_vendored.rs index 63fb6abf..82348b6e 100644 --- a/crates/libduckdb-sys/openssl/find_vendored.rs +++ b/crates/libduckdb-sys/openssl/find_vendored.rs @@ -1,4 +1,3 @@ -use openssl_src; use std::path::PathBuf; pub fn get_openssl(_target: &str) -> (Vec, PathBuf) { diff --git a/crates/libduckdb-sys/openssl/mod.rs b/crates/libduckdb-sys/openssl/mod.rs index 21b12045..4877258a 100644 --- a/crates/libduckdb-sys/openssl/mod.rs +++ b/crates/libduckdb-sys/openssl/mod.rs @@ -183,7 +183,7 @@ fn postprocess(include_dirs: &[PathBuf]) -> Version { } } #[cfg(feature = "openssl_bindgen")] - run_bindgen::run(&include_dirs); + run_bindgen::run(include_dirs); version }