rust-lang / rust-lang/reference

Document associated type equality constraint

Open
#931 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

New Content
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.