remove trailing whitespace

without.crypto
Myk Melez 6 years ago
parent 3a7824fba8
commit 65507bde0a
  1. 4
      src/transaction.rs

@ -425,7 +425,7 @@ mod test {
txn.del(db, b"key1", None).unwrap(); txn.del(db, b"key1", None).unwrap();
assert_eq!(txn.get(db, b"key1"), Err(Error::NotFound)); assert_eq!(txn.get(db, b"key1"), Err(Error::NotFound));
} }
#[test] #[test]
fn test_put_get_del_multi() { fn test_put_get_del_multi() {
let dir = TempDir::new("test").unwrap(); let dir = TempDir::new("test").unwrap();
@ -445,7 +445,7 @@ mod test {
txn.commit().unwrap(); txn.commit().unwrap();
let txn = env.begin_rw_txn().unwrap(); let txn = env.begin_rw_txn().unwrap();
{ {
let mut cur = txn.open_ro_cursor(db).unwrap(); let mut cur = txn.open_ro_cursor(db).unwrap();
let iter = cur.iter_dup_of(b"key1"); let iter = cur.iter_dup_of(b"key1");
let vals = iter.map(|(_,x)| x).collect::<Vec<_>>(); let vals = iter.map(|(_,x)| x).collect::<Vec<_>>();

Loading…
Cancel
Save