-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Rewrite box_region.rs to use generator resume arguments #68922
Copy link
Copy link
Closed
Labels
A-coroutinesArea: CoroutinesArea: CoroutinesC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-coroutinesArea: CoroutinesArea: CoroutinesC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
box_region.rsmakes use of generators, and passes arguments into them via thread-local storage. Now that #68524 has landed, this can be rewritten to use generator resume arguments instead, which is much cleaner and possibly also faster.