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

Closures grammar #135

Merged
merged 1 commit into from
Dec 1, 2017
Merged

Closures grammar #135

merged 1 commit into from
Dec 1, 2017

Conversation

brauliobz
Copy link
Contributor

@brauliobz brauliobz commented Oct 14, 2017

Part of #84.

> _ClosureExpression_ :
> &nbsp;&nbsp; `move`<sup>?</sup>
> &nbsp;&nbsp; ( `||` | `|` [_FunctionParameters_]<sup>?</sup> `|` )
> &nbsp;&nbsp; ([_Expression_] | `->` [_TypeNoBounds_]&nbsp;[_BlockExpression_])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is TypeNoBounds actually defined anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Havvy Havvy merged commit 98bd568 into rust-lang:master Dec 1, 2017
@Havvy
Copy link
Contributor

Havvy commented Dec 1, 2017

💟 Thanks!

Going to tentatively approve this, with the expectation that TypeNoBounds will show up eventually.

@brauliobz brauliobz deleted the grammar_closure_expr branch March 10, 2018 11:04
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

Successfully merging this pull request may close these issues.

2 participants