Skip to content

Commit e21f684

Browse files
committed
fix: fmt
1 parent c9730f6 commit e21f684

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/async_connection_wrapper.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
//! as replacement for the existing connection
1010
//! implementations provided by diesel
1111
12-
use futures_util::Future;
13-
use futures_util::Stream;
14-
use futures_util::StreamExt;
12+
use futures_util::{Future, Stream, StreamExt};
1513
use std::pin::Pin;
1614

1715
/// This is a helper trait that allows to customize the
@@ -194,13 +192,15 @@ mod implementation {
194192
C: crate::AsyncConnection,
195193
B: BlockOn + Send,
196194
{
197-
type Cursor<'conn, 'query> = AsyncCursorWrapper<'conn, C::Stream<'conn, 'query>, B>
198-
where
199-
Self: 'conn;
195+
type Cursor<'conn, 'query>
196+
= AsyncCursorWrapper<'conn, C::Stream<'conn, 'query>, B>
197+
where
198+
Self: 'conn;
200199

201-
type Row<'conn, 'query> = C::Row<'conn, 'query>
202-
where
203-
Self: 'conn;
200+
type Row<'conn, 'query>
201+
= C::Row<'conn, 'query>
202+
where
203+
Self: 'conn;
204204

205205
fn load<'conn, 'query, T>(
206206
&'conn mut self,

0 commit comments

Comments
 (0)