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

Document more precisely the rules for selecting closure traits. #219

Closed
alercah opened this issue Jan 31, 2018 · 0 comments · Fixed by #249
Closed

Document more precisely the rules for selecting closure traits. #219

alercah opened this issue Jan 31, 2018 · 0 comments · Fixed by #249
Assignees
Labels
Enhancement Improvement in a non-prose section of the book New Content Missing features or aspects of language not currently documented.

Comments

@alercah
Copy link
Contributor

alercah commented Jan 31, 2018

Currently, the reference is vague about when a closure is Fn or FnMut (all closures are FnOnce). Currently, the closures page merely says that the compiler will work it out, but we need to be more specific about precisely what the semantics are.

It may be worth rewriting this page in general to be more authoritative as well.

@alercah alercah added Enhancement Improvement in a non-prose section of the book New Content Missing features or aspects of language not currently documented. labels Jan 31, 2018
@alercah alercah self-assigned this Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement in a non-prose section of the book New Content Missing features or aspects of language not currently documented.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant