for x in xs.into_iter()
-> for x in xs
Also `for x in option.into_iter()` -> `if let Some(x) = option`
This commit is contained in:
parent
d5f61b4332
commit
fd702702ee
60 changed files with 78 additions and 78 deletions
|
@ -2371,7 +2371,7 @@ impl ::Decoder for Decoder {
|
|||
{
|
||||
let obj = try!(expect!(self.pop(), Object));
|
||||
let len = obj.len();
|
||||
for (key, value) in obj.into_iter() {
|
||||
for (key, value) in obj {
|
||||
self.stack.push(value);
|
||||
self.stack.push(Json::String(key));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue