Our closure capture chapter is wrong
Open
Nobody has claimed this yet.
A-closures
C-enhancement
S-waiting-on-author
- Dominant language
- reStructuredText
- Stars
- 497
- Forks
- 41
- Avg merge
- 3h 52m
- Merged PRs (30d)
- 4
Description
It was written with the old (pre-2021 edition) capturing rules in mind, rewriting it should also allow us to get rid of unique borrows which are not necessarily user facing
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
Search the specification for the closure capture chapter and compare its rules with the post-2021 Rust capturing behavior. Rewrite the chapter to reflect the current rules and remove discussion of unique borrows where they are not user-facing; the chapter should no longer describe the old pre-2021 model.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100