Adjust a few descriptions

This commit is contained in:
Ivan Ukhov 2020-06-10 20:20:43 +02:00
parent a71ad7dba7
commit 661e469172

View File

@ -108,8 +108,8 @@ impl Connection {
::statement::new(self.raw, statement) ::statement::new(self.raw, statement)
} }
/// Return the number of rows modified, inserted or deleted by the most recently completed /// Return the number of rows inserted, updated, or deleted by the most
/// INSERT, UPDATE or DELETE statement. /// recent INSERT, UPDATE, or DELETE statement.
#[inline] #[inline]
pub fn changes(&self) -> usize { pub fn changes(&self) -> usize {
unsafe { unsafe {
@ -117,8 +117,8 @@ impl Connection {
} }
} }
/// This function returns the total number of rows inserted, modified or deleted by all INSERT, /// Return the total number of rows inserted, updated, and deleted by all
/// UPDATE or DELETE statements completed since the database connection was opened. /// INSERT, UPDATE, and DELETE statements since the connection was opened.
#[inline] #[inline]
pub fn total_changes(&self) -> usize { pub fn total_changes(&self) -> usize {
unsafe { unsafe {