|
| 1 | +# rfc-2229 Working Group |
| 2 | +![working group status: active][status] |
| 3 | + |
| 4 | +- **Leads:** [@blitzerr][Blitzerr], [@nikomatsakis][Niko] |
| 5 | +- **Meeting Notes:** [NOTES] |
| 6 | +- **FAQs:** [All](FAQ.md) |
| 7 | + |
| 8 | +## What is the goal of this working group? |
| 9 | +This working group aims to accomplish the following: |
| 10 | + |
| 11 | +- Finish, optimize, and test the implementation of [RFC-2229]. |
| 12 | + RFC 2229 changes the way closure-capture works so that we no longer capture |
| 13 | + entire individual variables, instead capture the actual path to fields of the |
| 14 | + variable, that is used. This helps to eliminate borrow check errors. |
| 15 | +- Produce documentation of how the closures in Rust are implemented in the |
| 16 | + [rustc-guide] along the way. Currently, the rustc guide does not have a |
| 17 | + section on closures. We would like to change it. |
| 18 | + |
| 19 | + |
| 20 | +# How can I get involved? |
| 21 | +If you are interested in getting involved in this working group, you are welcome to |
| 22 | +introduce yourself in the Zulip stream. You can be added to the GitHub and Zulip |
| 23 | +group for the working group if you are interested in being pinged when there are available tasks. |
| 24 | + |
| 25 | +- **Desired experience level:** Any |
| 26 | +- **Relevant repositories:** [`rust-lang/rust`][repo] |
| 27 | +- **Zulip stream:** [`#t-compiler/wg-rfc-2229`][zulip] on Zulip |
| 28 | + |
| 29 | +## Can I contribute in ways other than code ? |
| 30 | +Definitely, you can. If you would like to have a deep understanding of closures |
| 31 | +but don't intend to write any code, help us add a section to the [rustc-guide]. |
| 32 | +One way to do that will be to watch the videos listed in the [NOTES] and |
| 33 | +summarizing them in a new closure section of the rustc-guide. |
| 34 | + |
| 35 | +## Are there any resources so I can get up to speed? |
| 36 | +Please look at the meeting [NOTES] for some excellent overview on the topic by [Niko] |
| 37 | + |
| 38 | +# Roadmap |
| 39 | +The project roadmap can be found [here][roadmap]. |
| 40 | + |
| 41 | +[Niko]: https://github.com/nikomatsakis |
| 42 | +[Blitzerr]: https://github.com/blitzerr |
| 43 | +[rustc-guide]: https://rust-lang.github.io/rustc-guide/ |
| 44 | +[repo]: https://github.com/rust-lang/rust |
| 45 | +[zulip]: https://rust-lang.zulipchat.com/#narrow/stream/189812-t-compiler.2Fwg-rfc-2229 |
| 46 | +[RFC-2229]: https://github.com/rust-lang/rfcs/blob/master/text/2229-capture-disjoint-fields.md |
| 47 | +[NOTES]: [All](NOTES.md) |
| 48 | +[status]: https://img.shields.io/badge/status-active-brightgreen.svg?style=for-the-badge |
| 49 | +[roadmap]: https://paper.dropbox.com/doc/RFC-2229-Roadmap--AYuUod8hbXrktRttb95fprjHAg-cJKrePDCZR54T5kVbuoQk |
0 commit comments