remove dbg logs

master
Paul Woolcock 6 years ago
parent e2c11f48d6
commit eb1a676a98
  1. 8
      src/lib.rs

@ -500,13 +500,13 @@ impl<R: BufRead> Iterator for EventReader<R> {
let mut tmp = String::new(); let mut tmp = String::new();
loop { loop {
if let Ok(..) = self.0.read_line(&mut tmp) { if let Ok(..) = self.0.read_line(&mut tmp) {
let line = dbg!(tmp.trim().to_string()); let line = tmp.trim().to_string();
tmp.clear(); tmp.clear();
if dbg!(line.starts_with(":")) { if line.starts_with(":") {
continue; continue;
} }
if dbg!(line.is_empty() && !lines.is_empty()) { if line.is_empty() && !lines.is_empty() {
if let Ok(event) = dbg!(self.make_event(&lines)) { if let Ok(event) = self.make_event(&lines) {
lines.clear(); lines.clear();
return Some(event); return Some(event);
} else { } else {

Loading…
Cancel
Save