Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dtolnay opened this issue Mar 3, 2018 · 0 comments
Open

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

dtolnay opened this issue Mar 3, 2018 · 0 comments
Labels

Comments

@dtolnay
Copy link
Member

dtolnay commented Mar 3, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant