Replies: 2 comments
-
@jturner314 This touches a bit too many methods to be fun (apply and par_apply of all arities) but also seems like a no-brainer. The unfortunately named |
Beta Was this translation helpful? Give feedback.
0 replies
-
I agree that this is something we should do. Also, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Rename Zip::apply to Zip::for_each (and par_apply to par_for_each).
This seems like a suggestion that can cause some churn, (unnecessarily?), but I think the code is easier to read and write if we use the more established name
.for_each()
.For example, new code after this change:
The old name would be deprecated and removed a release later. At the moment, there is no way for us to integrate with "cargo fix" (only rustc_deprecated attribute can do that), so we can't have this change be applied automatically.
Beta Was this translation helpful? Give feedback.
All reactions