rust-lang / rust-lang/reference
6.12 shows `!` syntax for _TraitImpl_ but never explains it
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 607
- PR merge metrics
- PR metrics pending
Description
6.12 (Implementations) shows syntax where ! can optionally precede TypePath. It looks like this is meant for negative implementations of auto traits? I think there should at least be a link to Chapter 11 (Special types and traits).
I'm willing to work on a pull request for this.
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 section 6.12, Implementations, where the optional ! before TypePath is shown. Compare it with Chapter 11, Special types and traits, and clarify the syntax or add the requested link; the documentation is done when readers can understand what this form refers to.
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
- Mostly clear
- Newbie friendliness
- 45/100