mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-01 07:59:27 +00:00
style: rustfmt
This commit is contained in:
@@ -19,7 +19,9 @@ impl Type<Sqlite> for Uuid {
|
||||
|
||||
impl<'q> Encode<'q, Sqlite> for Uuid {
|
||||
fn encode_by_ref(&self, args: &mut Vec<SqliteArgumentValue<'q>>) -> IsNull {
|
||||
args.push(SqliteArgumentValue::Blob(Cow::Owned(self.as_bytes().to_vec())));
|
||||
args.push(SqliteArgumentValue::Blob(Cow::Owned(
|
||||
self.as_bytes().to_vec(),
|
||||
)));
|
||||
|
||||
IsNull::No
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ use crate::encode::{Encode, IsNull};
|
||||
use crate::error::BoxDynError;
|
||||
use crate::types::Type;
|
||||
|
||||
pub use bstr::{BString, BStr, ByteSlice};
|
||||
pub use bstr::{BStr, BString, ByteSlice};
|
||||
|
||||
impl<DB> Type<DB> for BString
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user