rust-lang / rust-lang/reference
Document associated type equality constraint
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 607
- PR merge metrics
- PR metrics pending
Description
AFAIK, associated type equality constraints aren't documented at all (other than GenericArgsBinding in the grammar).
I'm not sure where exactly that would go or where to start. Seems related to trait bounds and the new section on constrained impls, though maybe it goes in Associated Types or maybe in the types chapter on impl trait and trait objects.
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 by reviewing the existing GenericArgsBinding grammar entry and the linked sections on trait bounds, constrained impls, associated types, impl trait, and trait objects. Determine where associated type equality constraints fit best, then document their syntax and behavior in the relevant Rust Reference section. Done means the constraints are covered clearly and consistently with the surrounding reference material.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100