Tweak doc on Cursor::next

This commit is contained in:
Ryan Leckey 2020-03-23 21:22:09 -07:00
parent a0bf61cc4a
commit ba86bc5555

View File

@ -33,7 +33,7 @@ where
Self: Sized,
E: Execute<'q, Self::Database>;
/// Fetch the next row in the result. Returns `None` if there are no more rows.
/// Creates a future that resolves to the next row in the cursor.
fn next<'cur>(
&'cur mut self,
) -> BoxFuture<'cur, crate::Result<Self::Database, Option<<Self::Database as HasRow<'cur>>::Row>>>;