mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-08 16:27:45 +08:00
rustfmt
This commit is contained in:
parent
24024b90b6
commit
8124953882
@ -31,9 +31,9 @@ impl FromSql for Value {
|
|||||||
let blob = try!(Vec::<u8>::column_result(stmt, col));
|
let blob = try!(Vec::<u8>::column_result(stmt, col));
|
||||||
serde_json::from_slice(&blob)
|
serde_json::from_slice(&blob)
|
||||||
}
|
}
|
||||||
_ => return Err(Error::InvalidColumnType)
|
_ => return Err(Error::InvalidColumnType),
|
||||||
};
|
};
|
||||||
value_result.map_err(|err| { Error::FromSqlConversionFailure(Box::new(err)) })
|
value_result.map_err(|err| Error::FromSqlConversionFailure(Box::new(err)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user