Skip to content

Share deserialize_with wrappers between visit_seq and visit_map #420

Closed
@dtolnay

Description

@dtolnay

Currently a struct with #[serde(deserialize_with="...")] on a field will generate two identical wrappers to call the deserialize_with function - one in visit_seq and one in visit_map. We should share the same wrapper to speed up compilation of the generated code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions