-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Fix the generator example for pin!()
#96719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
(rust-highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup |
📌 Commit 6d523e9 has been approved by |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thanks!
(EDIT: sorry, I was opening a tab while understanding the context here then submitted a review. I was too late here!)
The previous generator example is not actually self-referential, since the reference is created after the yield.
CC #93178 (tracking issue)