Remove stray println!()
This commit is contained in:
parent
b4f706cceb
commit
713816102b
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue