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

Remove duplicate code by using util::copy() #19016

Merged
merged 2 commits into from
Nov 18, 2014
Merged

Remove duplicate code by using util::copy() #19016

merged 2 commits into from
Nov 18, 2014

Conversation

gkoz
Copy link
Contributor

@gkoz gkoz commented Nov 17, 2014

This code is identical to io::util::copy()

@rust-highfive
Copy link
Collaborator

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

@alexcrichton
Copy link
Member

This isn't quite identical due to the call to update_err to insert some more contextual error information (which is the current style of the io::fs::err module. Could you be sure to call the same function?

@gkoz
Copy link
Contributor Author

gkoz commented Nov 17, 2014

Sorry, for the mistake. I'll look into using update_err

@gkoz
Copy link
Contributor Author

gkoz commented Nov 17, 2014

Updated to conform with err style

@alexcrichton
Copy link
Member

Looks like this may have picked up some extra files!

@gkoz
Copy link
Contributor Author

gkoz commented Nov 17, 2014

Yes, dealing with them :(

@gkoz
Copy link
Contributor Author

gkoz commented Nov 17, 2014

Should be fixed now.

@bors bors merged commit 8b16ccd into rust-lang:master Nov 18, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jan 27, 2025
fix: Fix `ItemScope` not recording glob imports
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