mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 10:27:56 +00:00
Map elts shouldn't be tuples, 4267ns vs 4900ns
This commit is contained in:
@@ -338,7 +338,6 @@ mod deserializer {
|
||||
self.stack.push(EndState);
|
||||
let len = value.len();
|
||||
for (key, value) in value.move_iter() {
|
||||
self.stack.push(EndState);
|
||||
match value {
|
||||
Some(c) => {
|
||||
self.stack.push(CharState(c));
|
||||
@@ -349,7 +348,6 @@ mod deserializer {
|
||||
}
|
||||
}
|
||||
self.stack.push(StringState(key));
|
||||
self.stack.push(TupleState(2));
|
||||
}
|
||||
Some(Ok(MapStart(len)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user