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
+2 -2
View File
@@ -1093,10 +1093,10 @@ fn deserialize_map(
} }
} }
$extract_values
try!(visitor.end()); try!(visitor.end());
$extract_values
Ok($result) Ok($result)
}) })
} }