Merge pull request #527 from gwenn/fmt

[ci skip] rustfmt
This commit is contained in:
gwenn 2019-06-02 09:13:52 +02:00 committed by GitHub
commit 62f2dcdfa4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,8 @@ fn main() {
} }
build_linked::main(&out_dir, &out_path) build_linked::main(&out_dir, &out_path)
} else { } else {
// This can't be `cfg!` without always requiring our `mod build_bundled` (and thus `cc`) // This can't be `cfg!` without always requiring our `mod build_bundled` (and
// thus `cc`)
#[cfg(feature = "bundled")] #[cfg(feature = "bundled")]
{ {
build_bundled::main(&out_dir, &out_path) build_bundled::main(&out_dir, &out_path)
@ -28,8 +29,8 @@ fn main() {
#[cfg(feature = "bundled")] #[cfg(feature = "bundled")]
mod build_bundled { mod build_bundled {
use cc; use cc;
use std::path::Path;
use std::env; use std::env;
use std::path::Path;
pub fn main(out_dir: &str, out_path: &Path) { pub fn main(out_dir: &str, out_path: &Path) {
if cfg!(feature = "sqlcipher") { if cfg!(feature = "sqlcipher") {