diff --git a/src/connection/statement_iterator.rs b/src/connection/statement_iterator.rs index 2e47d59..9fd330f 100644 --- a/src/connection/statement_iterator.rs +++ b/src/connection/statement_iterator.rs @@ -111,8 +111,8 @@ impl<'stmt, 'query> Iterator for StatementIterator<'stmt, 'query> { // by checking if our Rc owns the data or not if let Some(last_row_ref) = Rc::get_mut(last_row) { // We own the statement, there is no other reference here. - // This means we don't need to copy out values from the sqlite provided - // datastructures for now + // This means we don't need to copy out values from the SQLite-provided + // data structures for now // We don't need to use the runtime borrowing system of the RefCell here // as we have a mutable reference, so all of this below is checked at compile time if let PrivateSqliteRow::Direct(ref mut stmt) = last_row_ref.get_mut() { diff --git a/src/ffi/constants.rs b/src/ffi/constants.rs index 3282911..7ba5b56 100644 --- a/src/ffi/constants.rs +++ b/src/ffi/constants.rs @@ -13,7 +13,7 @@ use wasm_bindgen::prelude::*; /// v if *ffi::SQLITE_DONE == v { /// /* SQLITE_DONE */ /// }, -/// v if *ffi:SQLITE_ROW == v { +/// v if *ffi::SQLITE_ROW == v { /// /* SQLITE_ROW */ /// } /// } diff --git a/tests/test/web.rs b/tests/test/web.rs index 58c707d..a0f3ad9 100755 --- a/tests/test/web.rs +++ b/tests/test/web.rs @@ -1,4 +1,4 @@ -//! General tests for migrations/diesel ORM/persistant databases +//! General tests for migrations/diesel ORM/persistent databases use crate::common::prelude::*; use sqlite_web::dsl::RunQueryDsl;