From ba86bc5555ee4b4555431308151ffb42b488d275 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Mon, 23 Mar 2020 21:22:09 -0700 Subject: [PATCH] Tweak doc on Cursor::next --- sqlx-core/src/cursor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>>>;