Skip to content

Show negative enum values in the enum-number example #69

Open
@dtolnay

Description

@dtolnay

As reported in serde-rs/serde#1162, the Serialize enum as number example does not work so well if there is a mix of positive and negative enum values. Let's show the more complicated case to be maximally general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions