From 661e469172bb45b1f26a610443f91a1e9f30eba7 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Wed, 10 Jun 2020 20:20:43 +0200 Subject: [PATCH] Adjust a few descriptions --- src/connection.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connection.rs b/src/connection.rs index 23b962b..52ea7cf 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -108,8 +108,8 @@ impl Connection { ::statement::new(self.raw, statement) } - /// Return the number of rows modified, inserted or deleted by the most recently completed - /// INSERT, UPDATE or DELETE statement. + /// Return the number of rows inserted, updated, or deleted by the most + /// recent INSERT, UPDATE, or DELETE statement. #[inline] pub fn changes(&self) -> usize { unsafe { @@ -117,8 +117,8 @@ impl Connection { } } - /// This function returns the total number of rows inserted, modified or deleted by all INSERT, - /// UPDATE or DELETE statements completed since the database connection was opened. + /// Return the total number of rows inserted, updated, and deleted by all + /// INSERT, UPDATE, and DELETE statements since the connection was opened. #[inline] pub fn total_changes(&self) -> usize { unsafe {