-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
remove redundant closures (clippy::redundant_closure) #80499
Conversation
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
// of zero. This ensures that expressions dependent on optimized-out | ||
// expressions are still valid. | ||
.map_or(Some(Counter::zero()), |_| { | ||
new_indexes[index].map(|new_index| Counter::expression(new_index)) |
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.
The actual change seems to be here but it caused a lot of other code to shift around :/
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.
☔ The latest upstream changes (presumably #80261) made this pull request unmergeable. Please resolve the merge conflicts. |
r? @Dylan-DPC |
📌 Commit e2272cd has been approved by |
☀️ Test successful - checks-actions |
No description provided.