mirror of
https://github.com/serde-rs/serde.git
synced 2025-10-02 07:21:12 +00:00
Map ser impls should serialize a map
This commit is contained in:
parent
4e2f08cc7a
commit
26d357e846
@ -303,7 +303,7 @@ macro_rules! map_impl {
|
|||||||
where
|
where
|
||||||
S: Serializer,
|
S: Serializer,
|
||||||
{
|
{
|
||||||
serializer.collect_seq(self)
|
serializer.collect_map(self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user