serde-rs.github.io icon indicating copy to clipboard operation
serde-rs.github.io copied to clipboard

Clarify that only deserialization of enums require alloc

Open zeenix opened this issue 4 months ago • 1 comments

The current wording gives the impression that both serialization and deserialization of enums require alloc, while only the latter requires it. So let's make the wording a bit clearer.

zeenix avatar Aug 06 '25 13:08 zeenix

@dtolnay This is based on my understanding of the code. AFAICT serialization doesn't require alloc.

zeenix avatar Aug 06 '25 13:08 zeenix