fixing cargo fmt --all

master
Rohit Joshi 6 years ago
parent 8e1ed52021
commit b0160daaca
  1. 4
      src/backup.rs

@ -239,14 +239,10 @@ fn backup_restore() {
let r: Result<Option<DBVector>, Error> = db_restore.get(b"k1"); let r: Result<Option<DBVector>, Error> = db_restore.get(b"k1");
assert!(r.unwrap().unwrap().to_utf8().unwrap() == "v1111"); assert!(r.unwrap().unwrap().to_utf8().unwrap() == "v1111");
} }
assert!(DB::destroy(&Options::default(), restore_path).is_ok()); assert!(DB::destroy(&Options::default(), restore_path).is_ok());
} }
assert!(DB::destroy(&Options::default(), backup_path).is_ok()); assert!(DB::destroy(&Options::default(), backup_path).is_ok());
} }
assert!(DB::destroy(&Options::default(), path).is_ok()); assert!(DB::destroy(&Options::default(), path).is_ok());
} }

Loading…
Cancel
Save