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
+1 -1
View File
@@ -303,7 +303,7 @@ macro_rules! map_impl {
where where
S: Serializer, S: Serializer,
{ {
serializer.collect_seq(self) serializer.collect_map(self)
} }
} }
} }