From 09bd1de39b3f2069d9387005d85ddd4b49c92b96 Mon Sep 17 00:00:00 2001 From: Myk Melez Date: Mon, 22 Oct 2018 17:21:31 -0700 Subject: [PATCH 2/2] remove unnecessary commented-out code --- src/cursor.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cursor.rs b/src/cursor.rs index 5807d6b..d8c4727 100644 --- a/src/cursor.rs +++ b/src/cursor.rs @@ -602,10 +602,6 @@ mod test { let mut i = 0; let mut count = 0u32; for result in cursor.iter() { - // let (key, data) = match result { - // Ok((key, data)) => (key, data), - // Err(error) => return Err(error), - // }; let (key, data) = result?; i = i + key.len() + data.len(); count = count + 1;