Skip to content

Commit 28bc322

Browse files
committed
cargo fmt
1 parent a6aa63d commit 28bc322

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sqlx-core/src/sql_str.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,10 @@ impl Borrow<str> for SqlStr {
170170
}
171171
}
172172

173-
impl<T> PartialEq<T> for SqlStr where T: AsRef<str> {
173+
impl<T> PartialEq<T> for SqlStr
174+
where
175+
T: AsRef<str>,
176+
{
174177
fn eq(&self, other: &T) -> bool {
175178
self.as_str() == other.as_ref()
176179
}

sqlx-postgres/src/any.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use futures_util::{stream, StreamExt, TryFutureExt, TryStreamExt};
88
use std::borrow::Cow;
99
use std::{future, pin::pin};
1010
use sqlx_core::sql_str::SqlStr;
11+
use std::{future, pin::pin};
1112

1213
use sqlx_core::any::{
1314
Any, AnyArguments, AnyColumn, AnyConnectOptions, AnyConnectionBackend, AnyQueryResult, AnyRow,

0 commit comments

Comments
 (0)