serde-rs / serde-rs/serde-rs.github.io
Show negative enum values in the enum-number example
Open
Nobody has claimed this yet.
content
- Dominant language
- HTML
- Stars
- 23
- Forks
- 109
- PR merge metrics
- No merged PRs in 30d
Description
As reported in https://github.com/serde-rs/serde/issues/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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked Serialize enum as number documentation page and locate its enum-number example. Update the example to show a mix of positive and negative enum values, then verify that the documentation example still builds or renders correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100