Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libsql/src/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ impl Connection {
///
/// # Return
///
/// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
/// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
/// all other connection types will return an empty set always.
pub async fn execute_batch(&self, sql: &str) -> Result<BatchRows> {
tracing::trace!("executing batch `{}`", sql);
Expand Down Expand Up @@ -206,7 +206,7 @@ impl Connection {
self.conn.busy_timeout(timeout)
}

/// Check weather libsql is in `autocommit` or not.
/// Check whether libsql is in `autocommit` or not.
pub fn is_autocommit(&self) -> bool {
self.conn.is_autocommit()
}
Expand Down
6 changes: 3 additions & 3 deletions libsql/src/database/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub use crate::database::EncryptionContext;
///
/// # Note
///
/// Embedded replica's require a clean database (no database file) or a previously synced database or else it will
/// Embedded replicas require a clean database (no database file) or a previously synced database or else it will
/// throw an error to prevent any misuse. To work around this error a user can delete the database
/// and let it resync and create the wal_index metadata file.
pub struct Builder<T = ()> {
Expand Down Expand Up @@ -276,7 +276,7 @@ cfg_replication! {
self
}

/// Set weather you want writes to be visible locally before the write query returns. This
/// Set whether you want writes to be visible locally before the write query returns. This
/// means that you will be able to read your own writes if this is set to `true`.
///
/// # Default
Expand Down Expand Up @@ -333,7 +333,7 @@ cfg_replication! {
self
}

/// Skip the saftey assert used to ensure that sqlite3 is configured correctly for the way
/// Skip the safety assert used to ensure that sqlite3 is configured correctly for the way
/// that libsql uses the ffi code. By default, libsql will try to use the SERIALIZED
/// threadsafe mode for sqlite3. This allows us to implement Send/Sync for all the types to
/// allow them to move between threads safely. Due to the fact that sqlite3 has a global
Expand Down
Loading