Skip to content
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

Moves val into .extend() instead of &mut and .into_iter() #34285

Merged

Conversation

brooksprumo
Copy link
Contributor

Originally from #34280 (comment), this is a simple cleanup. We can pass the results.skipped_rewrites directly into .extend(), instead of doing the &mut + .into_iter().

Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice use of move.
lgtm.

Copy link
Contributor

@jeffwashington jeffwashington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@brooksprumo brooksprumo merged commit 8fbe033 into solana-labs:master Dec 1, 2023
33 checks passed
@brooksprumo brooksprumo deleted the skipped-rewrite-cleanup branch December 1, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants