aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/serialization.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/serialization.rs b/src/serialization.rs
index b3b3682..9b5ddfd 100644
--- a/src/serialization.rs
+++ b/src/serialization.rs
@@ -619,9 +619,7 @@ impl serialize::Decoder<DecodeError> for Decoder {
let ret = try!(f(self, len));
match self.toml {
Some(Array(ref mut arr)) => {
- println!("before: {}", arr);
arr.retain(|slot| slot.as_integer() != Some(0));
- println!("after: {}", arr);
if arr.len() != 0 { return Ok(ret) }
}
_ => return Ok(ret)