Skip to content

Commit 31411bb

Browse files
committed
fmt
1 parent 4d669be commit 31411bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqlx-sqlite/src/types/url.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ impl Type<Sqlite> for Url {
2020

2121
impl Encode<'_, Sqlite> for Url {
2222
fn encode_by_ref(&self, args: &mut SqliteArgumentsBuffer) -> Result<IsNull, BoxDynError> {
23-
args.push(SqliteArgumentValue::Text(Arc::new(self.as_str().to_string())));
23+
args.push(SqliteArgumentValue::Text(Arc::new(
24+
self.as_str().to_string(),
25+
)));
2426

2527
Ok(IsNull::No)
2628
}

0 commit comments

Comments
 (0)