Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/design_notes/general_coroutines.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ async gen {
- The major disagreement between past proposals is whether to use "yield
expressions" or "magic mutation".
- Yield expression: `let after = yield output;`
- Used by [eRFC-2033][1]
- Used by [eRFC-2033][1] and is the current implementation.
- Magic mutation: `let before = arg; yield output; let after = arg;`
- Used by [RFC-2781][2] and [MCP-49][3]
- Many people have a strong gut preference for yield expressions.
Expand Down