Skip to content

Commit 70ff792

Browse files
committed
update lifetime in transaction callback parameter
1 parent 4fb632e commit 70ff792

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sqlx-core/src/connection.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ pub trait Connection: Send {
7373
callback: F,
7474
) -> BoxFuture<'fut, Result<R, E>>
7575
where
76-
for<'c> F: FnOnce(&'c mut Transaction<'a, Self::Database>) -> ScopedBoxFuture<'b, 'c, Result<R, E>>
76+
for<'c> F: FnOnce(
77+
&'c mut Transaction<'fut, Self::Database>,
78+
) -> ScopedBoxFuture<'b, 'c, Result<R, E>>
7779
+ 'b
7880
+ Send
7981
+ Sync,

0 commit comments

Comments
 (0)