Skip to content

Commit 51ded0a

Browse files
committed
Fixed typos in database.builder
1 parent 37e7a9d commit 51ded0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libsql/src/database/builder.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub use crate::database::EncryptionContext;
2525
///
2626
/// # Note
2727
///
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
2929
/// throw an error to prevent any misuse. To work around this error a user can delete the database
3030
/// and let it resync and create the wal_index metadata file.
3131
pub struct Builder<T = ()> {
@@ -276,7 +276,7 @@ cfg_replication! {
276276
self
277277
}
278278

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
280280
/// means that you will be able to read your own writes if this is set to `true`.
281281
///
282282
/// # Default
@@ -333,7 +333,7 @@ cfg_replication! {
333333
self
334334
}
335335

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
337337
/// that libsql uses the ffi code. By default, libsql will try to use the SERIALIZED
338338
/// threadsafe mode for sqlite3. This allows us to implement Send/Sync for all the types to
339339
/// allow them to move between threads safely. Due to the fact that sqlite3 has a global

0 commit comments

Comments
 (0)