mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
auto merge of #13635 : richo/rust/no-output-from-serialize, r=sfackler
As an aside, it seems like a lint for libraries calling println! might be a useful thing?
This commit is contained in:
commit
9b5b21951b
@ -446,10 +446,7 @@ impl<E, D:Decoder<E>,T:Decodable<D, E>> Decodable<D, E> for ~[T] {
|
||||
for i in range(0, len) {
|
||||
v.push(try!(d.read_seq_elt(i, |d| Decodable::decode(d))));
|
||||
}
|
||||
println!("-------");
|
||||
println!("{}", v.len());
|
||||
let k = v.move_iter().collect::<~[T]>();
|
||||
println!("{}", k.len());
|
||||
Ok(k)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user