From eb1a676a98a3c37ee06110ffba5be805ebc4dee4 Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Wed, 6 Mar 2019 11:51:34 -0500 Subject: [PATCH] remove dbg logs --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 0db5db1..ebfc25b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -500,13 +500,13 @@ impl Iterator for EventReader { let mut tmp = String::new(); loop { if let Ok(..) = self.0.read_line(&mut tmp) { - let line = dbg!(tmp.trim().to_string()); + let line = tmp.trim().to_string(); tmp.clear(); - if dbg!(line.starts_with(":")) { + if line.starts_with(":") { continue; } - if dbg!(line.is_empty() && !lines.is_empty()) { - if let Ok(event) = dbg!(self.make_event(&lines)) { + if line.is_empty() && !lines.is_empty() { + if let Ok(event) = self.make_event(&lines) { lines.clear(); return Some(event); } else {