rust-lang / rust-lang/rust-bindgen
Add a section to the users guide about deriving traits
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 5.3k
- Forks
- 829
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 15
Description
Should include info on:
-
How to enable non-default trait deriving
-
Heads up about situations in which we can't add
derive(Trait)because, eg there is a floating point member in a struct soEqcan't be derived -
Information about the
--impl-blahoptions for when we can impl but can't derive -
How to disable trait deriving/impling for specific types
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
Start in the users guide and review the requested topics: enabling non-default trait deriving, cases where deriving fails, --impl-blah options, and disabling deriving or impling for specific types. Done means the guide has a coherent section covering each listed item with appropriate examples or explanations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100