diff --git a/benches/lib.rs b/benches/lib.rs index ea80463..2d799f4 100644 --- a/benches/lib.rs +++ b/benches/lib.rs @@ -21,4 +21,4 @@ mod bench { let sql = "SELECT 1, 'test', 3.14 UNION SELECT 2, 'exp', 2.71"; b.iter(|| db.prepare_cached(sql).unwrap()); } -} \ No newline at end of file +} diff --git a/libsqlite3-sys/build.rs b/libsqlite3-sys/build.rs index 6dd26f0..bef22c2 100644 --- a/libsqlite3-sys/build.rs +++ b/libsqlite3-sys/build.rs @@ -10,8 +10,7 @@ fn main() { all(windows, feature = "bundled-windows") )) { println!( - "cargo:warning={}", - "Builds with bundled SQLCipher are not supported. Searching for SQLCipher to link against. \ + "cargo:warning=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!"); } build_linked::main(&out_dir, &out_path) @@ -280,7 +279,7 @@ mod bindings { use std::fs; use std::path::Path; - static PREBUILT_BINDGEN_PATHS: &'static [&'static str] = &[ + static PREBUILT_BINDGEN_PATHS: &[&str] = &[ "bindgen-bindings/bindgen_3.6.8.rs", #[cfg(feature = "min_sqlite_version_3_6_23")] "bindgen-bindings/bindgen_3.6.23.rs",