Remove stray println!()

This commit is contained in:
Alex Crichton 2014-06-28 15:16:15 -07:00
parent b4f706cceb
commit 713816102b

View file

@ -619,9 +619,7 @@ impl serialize::Decoder<DecodeError> for Decoder {
let ret = try!(f(self, len)); let ret = try!(f(self, len));
match self.toml { match self.toml {
Some(Array(ref mut arr)) => { Some(Array(ref mut arr)) => {
println!("before: {}", arr);
arr.retain(|slot| slot.as_integer() != Some(0)); arr.retain(|slot| slot.as_integer() != Some(0));
println!("after: {}", arr);
if arr.len() != 0 { return Ok(ret) } if arr.len() != 0 { return Ok(ret) }
} }
_ => return Ok(ret) _ => return Ok(ret)