diff --git a/src/rocksdb.rs b/src/rocksdb.rs index 62fd506..0ca2e48 100644 --- a/src/rocksdb.rs +++ b/src/rocksdb.rs @@ -434,7 +434,7 @@ impl DB { self.write_opt(batch, &WriteOptions::default()) } - pub fn write_withou_wal(&self, batch: WriteBatch) -> Result<(), String> { + pub fn write_without_wal(&self, batch: WriteBatch) -> Result<(), String> { let mut wo = WriteOptions::new(); wo.disable_wal(true); self.write_opt(batch, &wo)