remove unnecessary commented-out code

without.crypto
Myk Melez 6 years ago
parent 7f43959189
commit 09bd1de39b
  1. 4
      src/cursor.rs

@ -602,10 +602,6 @@ mod test {
let mut i = 0; let mut i = 0;
let mut count = 0u32; let mut count = 0u32;
for result in cursor.iter() { for result in cursor.iter() {
// let (key, data) = match result {
// Ok((key, data)) => (key, data),
// Err(error) => return Err(error),
// };
let (key, data) = result?; let (key, data) = result?;
i = i + key.len() + data.len(); i = i + key.len() + data.len();
count = count + 1; count = count + 1;

Loading…
Cancel
Save