diff --git a/sqlx-core/src/cursor.rs b/sqlx-core/src/cursor.rs index b8fbf003..3efcfb8b 100644 --- a/sqlx-core/src/cursor.rs +++ b/sqlx-core/src/cursor.rs @@ -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>::Row>>>;