From b1842390c3946947ed43bce998d3480b699786ec Mon Sep 17 00:00:00 2001 From: Alex Chi Date: Mon, 16 Jan 2023 22:54:20 -0500 Subject: [PATCH] update comments Signed-off-by: Alex Chi --- tokio-postgres/src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-postgres/src/query.rs b/tokio-postgres/src/query.rs index 72e92ccd..12176353 100644 --- a/tokio-postgres/src/query.rs +++ b/tokio-postgres/src/query.rs @@ -240,7 +240,7 @@ impl Stream for RowStream { impl RowStream { /// Returns the number of rows affected by the query. /// - /// This will be `None` if the information is not available yet. + /// This function will return `None` until the stream has been exhausted. pub fn rows_affected(&self) -> Option { self.rows_affected }