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

Tweak closure return type annotation to eliminate future limitations for type grammar #968

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

nikomatsakis
Copy link
Contributor

@aidancully
Copy link

One obvious alternative: "always require braces"? It would make closures more synchronous with function definitions, but is of course an annoying breaking change.

@blaenk
Copy link
Contributor

blaenk commented Mar 12, 2015

I'm fine with this niko. 👍

@Ericson2314
Copy link
Contributor

Looks good. Always requiring braces would probably be too heavy.

@brson brson merged commit 2698af8 into rust-lang:master Mar 16, 2015
@brson
Copy link
Contributor

brson commented Mar 16, 2015

Minor uncontroversial fix. Merged.

Tracking issue.

@Centril Centril added A-syntax Syntax related proposals & ideas A-closures Proposals relating to closures / lambdas. labels Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-closures Proposals relating to closures / lambdas. A-syntax Syntax related proposals & ideas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants