Close the map before checking for missing fields

This commit is contained in:
David Tolnay 2016-07-05 01:42:38 -07:00
parent c0e8164792
commit 0f9a930c4f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1093,10 +1093,10 @@ fn deserialize_map(
}
}
$extract_values
try!(visitor.end());
$extract_values
Ok($result)
})
}