Fix clippy warnings

This commit is contained in:
gwenn 2020-03-14 07:41:57 +01:00
parent eaade5970d
commit f971c6e625
2 changed files with 3 additions and 4 deletions

View File

@ -10,8 +10,7 @@ fn main() {
all(windows, feature = "bundled-windows") all(windows, feature = "bundled-windows")
)) { )) {
println!( println!(
"cargo:warning={}", "cargo:warning=Builds with bundled SQLCipher are not supported. Searching for SQLCipher to link against. \
"Builds with bundled SQLCipher are not supported. Searching for SQLCipher to link against. \
This can lead to issues if your version of SQLCipher is not up to date!"); This can lead to issues if your version of SQLCipher is not up to date!");
} }
build_linked::main(&out_dir, &out_path) build_linked::main(&out_dir, &out_path)
@ -280,7 +279,7 @@ mod bindings {
use std::fs; use std::fs;
use std::path::Path; use std::path::Path;
static PREBUILT_BINDGEN_PATHS: &'static [&'static str] = &[ static PREBUILT_BINDGEN_PATHS: &[&str] = &[
"bindgen-bindings/bindgen_3.6.8.rs", "bindgen-bindings/bindgen_3.6.8.rs",
#[cfg(feature = "min_sqlite_version_3_6_23")] #[cfg(feature = "min_sqlite_version_3_6_23")]
"bindgen-bindings/bindgen_3.6.23.rs", "bindgen-bindings/bindgen_3.6.23.rs",