mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-13 17:27:50 +00:00
Add explicit life times to Cursor
This commit is contained in:
parent
1a48cf3b2c
commit
0421c9fb42
@ -34,5 +34,7 @@ where
|
||||
E: Execute<'q, Self::Database>;
|
||||
|
||||
/// Fetch the next row in the result. Returns `None` if there are no more rows.
|
||||
fn next(&mut self) -> BoxFuture<crate::Result<Option<<Self::Database as HasRow>::Row>>>;
|
||||
fn next<'cur>(
|
||||
&'cur mut self,
|
||||
) -> BoxFuture<'cur, crate::Result<Option<<Self::Database as HasRow<'cur>>::Row>>>;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user