Skip to content

librustc: Implement sugar for the FnMut trait #14606

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

Merged
merged 1 commit into from
Jun 10, 2014

Conversation

pcwalton
Copy link
Contributor

@pcwalton pcwalton commented Jun 2, 2014

&None,
None,
None,
true)
Copy link
Member

Choose a reason for hiding this comment

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

This is the point where this function is either taking too many parameters, or this one-line-per-argument is taken too far I feel, this is taking up ~50 lines just for the arguments. I think I just am not a big fan of this style at all...

Not a blocker or anything, just nothing that this is a huge amount of lines with what looks like no gain in readability, but that's likely the fault of the function that takes 11 arguments.

@alexcrichton
Copy link
Member

The code looks fine to me, modulo style that I don't agree with, but I'm going to hold off on an r+ until an RFC is accepted.

@pcwalton
Copy link
Contributor Author

pcwalton commented Jun 4, 2014

@alexcrichton Look good now that the RFC is accepted via voice vote?

@alexcrichton
Copy link
Member

I thought that this was going to be behind a feature gate? r=me with a feature gate + travis fixes

@bors bors closed this Jun 10, 2014
@bors bors merged commit f02b6f3 into rust-lang:master Jun 10, 2014
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.

3 participants