File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ impl Connection {
137
137
///
138
138
/// # Return
139
139
///
140
- /// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
140
+ /// This returns a `BatchRows` currently only the `remote` and `local` connection supports this feature and
141
141
/// all other connection types will return an empty set always.
142
142
pub async fn execute_batch ( & self , sql : & str ) -> Result < BatchRows > {
143
143
tracing:: trace!( "executing batch `{}`" , sql) ;
@@ -206,7 +206,7 @@ impl Connection {
206
206
self . conn . busy_timeout ( timeout)
207
207
}
208
208
209
- /// Check weather libsql is in `autocommit` or not.
209
+ /// Check whether libsql is in `autocommit` or not.
210
210
pub fn is_autocommit ( & self ) -> bool {
211
211
self . conn . is_autocommit ( )
212
212
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ pub use crate::database::EncryptionContext;
25
25
///
26
26
/// # Note
27
27
///
28
- /// Embedded replica's require a clean database (no database file) or a previously synced database or else it will
28
+ /// Embedded replicas require a clean database (no database file) or a previously synced database or else it will
29
29
/// throw an error to prevent any misuse. To work around this error a user can delete the database
30
30
/// and let it resync and create the wal_index metadata file.
31
31
pub struct Builder < T = ( ) > {
@@ -276,7 +276,7 @@ cfg_replication! {
276
276
self
277
277
}
278
278
279
- /// Set weather you want writes to be visible locally before the write query returns. This
279
+ /// Set whether you want writes to be visible locally before the write query returns. This
280
280
/// means that you will be able to read your own writes if this is set to `true`.
281
281
///
282
282
/// # Default
@@ -333,7 +333,7 @@ cfg_replication! {
333
333
self
334
334
}
335
335
336
- /// Skip the saftey assert used to ensure that sqlite3 is configured correctly for the way
336
+ /// Skip the safety assert used to ensure that sqlite3 is configured correctly for the way
337
337
/// that libsql uses the ffi code. By default, libsql will try to use the SERIALIZED
338
338
/// threadsafe mode for sqlite3. This allows us to implement Send/Sync for all the types to
339
339
/// allow them to move between threads safely. Due to the fact that sqlite3 has a global
You can’t perform that action at this time.
0 commit comments