Fix source formatting with cargo fmt

This commit is contained in:
Pekka Enberg
2024-05-08 07:17:34 -03:00
parent 08165fc34e
commit 042e5476f1
2 changed files with 3 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#![allow(non_camel_case_types)]
use std::rc::Rc;
use std::ffi;
use std::rc::Rc;
pub const SQLITE_OK: ffi::c_int = 0;
pub const SQLITE_ERROR: ffi::c_int = 1;
@@ -58,9 +58,7 @@ pub unsafe extern "C" fn sqlite3_open(
*db_out = Box::leak(Box::new(sqlite3::new(db, conn)));
SQLITE_OK
}
Err(e) => {
SQLITE_NOTFOUND
},
Err(e) => SQLITE_NOTFOUND,
}
}