Map ser impls should serialize a map

This commit is contained in:
David Tolnay 2017-04-14 12:08:26 -07:00
parent 4e2f08cc7a
commit 26d357e846
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -303,7 +303,7 @@ macro_rules! map_impl {
where
S: Serializer,
{
serializer.collect_seq(self)
serializer.collect_map(self)
}
}
}