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

Make libsyntax::print::pp more idiomatic #33309

Merged
merged 2 commits into from
May 3, 2016
Merged

Conversation

birkenfeld
Copy link
Contributor

Minor cleanup, and using VecDeque as a ring buffer instead of a vector.

* implement Display on Token instead of custom tok_str() fn
* use expression returns
* remove redundant parens in asserts
* remove "/* bad */" comments that appear to be related to early
  changes in memory management
* and a few individual idiomatic changes
@rust-highfive
Copy link
Collaborator

r? @nrc

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

@birkenfeld birkenfeld changed the title Some changes to libsyntax::print::pp Make libsyntax::print::pp more idiomatic May 1, 2016
@nrc
Copy link
Member

nrc commented May 1, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented May 1, 2016

📌 Commit 4186169 has been approved by nrc

Manishearth added a commit to Manishearth/rust that referenced this pull request May 2, 2016
Make libsyntax::print::pp more idiomatic

Minor cleanup, and using VecDeque as a ring buffer instead of a vector.
bors added a commit that referenced this pull request May 2, 2016
Rollup of 14 pull requests

- Successful merges: #32756, #33129, #33225, #33260, #33309, #33320, #33323, #33324, #33325, #33330, #33332, #33334, #33335, #33346
- Failed merges:
Manishearth added a commit to Manishearth/rust that referenced this pull request May 3, 2016
Make libsyntax::print::pp more idiomatic

Minor cleanup, and using VecDeque as a ring buffer instead of a vector.
bors added a commit that referenced this pull request May 3, 2016
Rollup of 14 pull requests

- Successful merges: #32756, #33129, #33225, #33260, #33309, #33320, #33323, #33324, #33325, #33330, #33332, #33334, #33335, #33346
- Failed merges:
@bors bors merged commit 4186169 into rust-lang:master May 3, 2016
@birkenfeld birkenfeld deleted the pp branch May 3, 2016 07:15
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