mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-23 18:04:27 +01:00
Fix source formatting with cargo fmt
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user