Fixed spelling mistake

master
Karl Hobley 8 years ago committed by GitHub
parent 12259e0c1b
commit cfa206a955
  1. 2
      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)

Loading…
Cancel
Save