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

Parser clean #2858

Merged
merged 4 commits into from
Jul 14, 2016
Merged

Parser clean #2858

merged 4 commits into from
Jul 14, 2016

Conversation

Ericson2314
Copy link
Contributor

A few misc shortenings, mainly from my stdlib deps prototype. See the TODOs for some questions.

@rust-highfive
Copy link

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

{
let dep_iter = ds[0].iter().map(|d| (d, None))
.chain(ds[1].iter().map(|d| (d, Some(Kind::Development))))
.chain(ds[2].iter().map(|d| (d, Some(Kind::Build))))
Copy link
Member

Choose a reason for hiding this comment

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

This seems a little magical to me, could the previous behavior of passing this in explicitly be kept instead?

@Ericson2314
Copy link
Contributor Author

Ericson2314 commented Jul 13, 2016

Both fixed! Issue for the former todos is #2869

@alexcrichton
Copy link
Member

@bors: r+ b4379aa

Thanks!

@bors
Copy link
Collaborator

bors commented Jul 14, 2016

⌛ Testing commit b4379aa with merge 2e5c30c...

bors added a commit that referenced this pull request Jul 14, 2016
Parser clean

A few misc shortenings, mainly from my stdlib deps prototype. See the TODOs for some questions.
@bors
Copy link
Collaborator

bors commented Jul 14, 2016

☀️ Test successful - cargo-cross-linux, cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64
Approved by: alexcrichton
Pushing 2e5c30c to master...

@bors bors merged commit b4379aa into rust-lang:master Jul 14, 2016
@Ericson2314 Ericson2314 deleted the parser-clean branch July 14, 2016 08:13
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.

4 participants