Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Correctly wrap key in SerializeMap::serialize_entry
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
Mingun committed Jul 28, 2024
1 parent 82f2796 commit 1320028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ macro_rules! impl_serializer {
K: ?Sized + Serialize,
V: ?Sized + Serialize,
{
self.0.serialize_entry(key, &$wrapper(value))
self.0.serialize_entry(&$wrapper(key), &$wrapper(value))
}
fn end(self) -> Result<S::Ok, S::Error> {
self.0.end()
Expand Down

0 comments on commit 1320028

Please sign in to comment.