serde-rs.github.io
serde-rs.github.io copied to clipboard
Clarify that only deserialization of enums require alloc
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.
@dtolnay This is based on my understanding of the code. AFAICT serialization doesn't require alloc.