Skip to content

"Moving Closure" used but never introduced/explained #531

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

Closed
brunobeltran opened this issue Apr 4, 2015 · 2 comments
Closed

"Moving Closure" used but never introduced/explained #531

brunobeltran opened this issue Apr 4, 2015 · 2 comments

Comments

@brunobeltran
Copy link
Contributor

From what I can tell (I have been following the examples fairly carefully and sequentially), the concept of a "moving closure" as mentioned in threads
appears to no longer exist:
rust-lang/rust#4339

More importantly, it is not mentioned anywhere prior to that point, whereat it is not explained.

@mdinger
Copy link
Contributor

mdinger commented Apr 4, 2015

(I'm aware this need to be improved. I'm just trying to make sure you have somewhere to look for now)

Closures aren't really covered well on rbe. They've been changing rapidly for a while and only recently have stabilized. The book closure section on moving closures is where you need to check currently. It has been improved recently and is more up to date than it has been for a while.

@mdinger
Copy link
Contributor

mdinger commented Jun 15, 2015

This is covered here in the updated closures section. This is fixed.

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

No branches or pull requests

2 participants