mirror of
https://github.com/isar/rusqlite.git
synced 2025-09-15 20:22:19 +08:00
Rustfmt
This commit is contained in:
@@ -88,7 +88,10 @@ pub trait FromSql: Sized {
|
||||
}
|
||||
}
|
||||
|
||||
unsafe fn column_has_expected_typed(stmt: *mut sqlite3_stmt, col: c_int, expected_type: c_int) -> Result<()> {
|
||||
unsafe fn column_has_expected_typed(stmt: *mut sqlite3_stmt,
|
||||
col: c_int,
|
||||
expected_type: c_int)
|
||||
-> Result<()> {
|
||||
let actual_type = sqlite3_column_type(stmt, col);
|
||||
if actual_type == expected_type {
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user