Rewrite box_region.rs
to use generator resume arguments
#68922
Labels
A-coroutines
Area: Coroutines
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
box_region.rs
makes 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.The text was updated successfully, but these errors were encountered: