Skip to content

Commit f326ace

Browse files
committed
chore: fix new clippy lints
1 parent ca4c50f commit f326ace

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tx.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ where
197197
type Database = DB::Driver;
198198

199199
#[allow(clippy::type_complexity)]
200-
fn fetch_many<'e, 'q: 'e, Q: 'q>(
200+
fn fetch_many<'e, 'q: 'e, Q>(
201201
self,
202202
query: Q,
203203
) -> BoxStream<
@@ -212,18 +212,18 @@ where
212212
>
213213
where
214214
'c: 'e,
215-
Q: sqlx::Execute<'q, Self::Database>,
215+
Q: sqlx::Execute<'q, Self::Database> + 'q,
216216
{
217217
(&mut ***self).fetch_many(query)
218218
}
219219

220-
fn fetch_optional<'e, 'q: 'e, Q: 'q>(
220+
fn fetch_optional<'e, 'q: 'e, Q>(
221221
self,
222222
query: Q,
223223
) -> BoxFuture<'e, Result<Option<<Self::Database as sqlx::Database>::Row>, sqlx::Error>>
224224
where
225225
'c: 'e,
226-
Q: sqlx::Execute<'q, Self::Database>,
226+
Q: sqlx::Execute<'q, Self::Database> + 'q,
227227
{
228228
(&mut ***self).fetch_optional(query)
229229
}

0 commit comments

Comments
 (0)