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

Refactored libfmt_macros #28357

Merged
merged 2 commits into from
Sep 14, 2015
Merged

Refactored libfmt_macros #28357

merged 2 commits into from
Sep 14, 2015

Conversation

semmaz
Copy link
Contributor

@semmaz semmaz commented Sep 11, 2015

This changes libfmt_macros CharIndices iterator into Peekable so it can be used without .clone().

Also changed some loop match and match to while let and if let respectively (mostly for readability).

@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 @brson (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. 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.

@brson
Copy link
Contributor

brson commented Sep 11, 2015

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned brson Sep 11, 2015
@alexcrichton
Copy link
Member

@bors: r+ 15d5c08

Thanks!

bors added a commit that referenced this pull request Sep 13, 2015
This changes libfmt_macros `CharIndices` iterator into `Peekable` so it can be used without `.clone()`.

Also changed some `loop match` and `match` to `while let` and `if let` respectively (mostly for readability).
@bors
Copy link
Contributor

bors commented Sep 13, 2015

⌛ Testing commit 15d5c08 with merge 6873b9f...

@bors bors merged commit 15d5c08 into rust-lang:master Sep 14, 2015
@semmaz semmaz deleted the libfmt-macros branch September 15, 2015 18:34
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