Skip to content

Avoid higher-order functions to get item attributes. #20957

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 3 commits into from
Jan 13, 2015

Conversation

Ms2ger
Copy link
Contributor

@Ms2ger Ms2ger commented Jan 11, 2015

Returning the vectors directly makes the code a lot cleaner.

@rust-highfive
Copy link
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

Using a closure unnecessarily obfuscates the code.
Using a closure unnecessarily obfuscates the code.
@Ms2ger
Copy link
Contributor Author

Ms2ger commented Jan 13, 2015

re-r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned eddyb Jan 13, 2015
bors added a commit that referenced this pull request Jan 13, 2015
Returning the vectors directly makes the code a lot cleaner.
@bors bors merged commit 756466b into rust-lang:master Jan 13, 2015
@Ms2ger Ms2ger deleted the closures branch March 12, 2015 10:27
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.

5 participants