@@ -281,12 +281,12 @@ pub extern "C" fn libsql_database_init(desc: c::libsql_database_desc_t) -> c::li
281281 let db = match ( path, url, auth_token, desc. synced ) {
282282 ( None , None , None , _) => {
283283 let db = libsql:: Builder :: new_local ( ":memory:" ) ;
284- let db = unsafe { db. skip_saftey_assert ( desc. disable_safety_assert ) } ;
284+ let db = unsafe { db. skip_safety_assert ( desc. disable_safety_assert ) } ;
285285 RT . block_on ( db. build ( ) )
286286 }
287287 ( Some ( path) , None , None , _) => {
288288 let db = libsql:: Builder :: new_local ( path. to_str ( ) ?) ;
289- let db = unsafe { db. skip_saftey_assert ( desc. disable_safety_assert ) } ;
289+ let db = unsafe { db. skip_safety_assert ( desc. disable_safety_assert ) } ;
290290 let db = match ( desc. cypher , encryption_key) {
291291 (
292292 c:: libsql_cypher_t:: LIBSQL_CYPHER_AES256
@@ -391,7 +391,7 @@ pub extern "C" fn libsql_database_init(desc: c::libsql_database_desc_t) -> c::li
391391 // NOTE: This is done so that the default zero initialization respects that
392392 // read_your_writes is true by default.
393393 let db = db. read_your_writes ( desc. disable_read_your_writes . not ( ) ) ;
394- let db = unsafe { db. skip_saftey_assert ( desc. disable_safety_assert ) } ;
394+ let db = unsafe { db. skip_safety_assert ( desc. disable_safety_assert ) } ;
395395 let db = match ( desc. cypher , encryption_key) {
396396 (
397397 c:: libsql_cypher_t:: LIBSQL_CYPHER_AES256
0 commit comments