-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Unboxed closures with all Clone members should implement Clone #23501
Comments
This is important for iterators -- with this we can clone most iterator pipelines. In fact, most don't even need captures at all and would be the cheapest to clone. |
This would be good for situations in which one wants to box and store a closure in a small minority of cases. Would be good to be able to have something like |
Sounds like an nice idea. Unfortunately it would require |
The expanded closure struct couldn't have the equivalent of 'derive(Clone)' On Sat, Nov 14, 2015, 9:32 AM arielb1 notifications@github.com wrote:
|
|
I think this can be closed now that we have #44490 |
Similar to #19128
The text was updated successfully, but these errors were encountered: