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

run rustfmt on syntax::parse::lexer #30684

Merged
merged 4 commits into from
Jan 13, 2016
Merged

run rustfmt on syntax::parse::lexer #30684

merged 4 commits into from
Jan 13, 2016

Conversation

tshepang
Copy link
Member

@tshepang tshepang commented Jan 3, 2016

No description provided.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

style: if code_to_the_left { Trailing } else { Isolated },
lines: vec!(rdr.read_one_line_comment()),
pos: p
style: if code_to_the_left {
Copy link
Member

Choose a reason for hiding this comment

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

Bad formatting. (Comment copied from the previous PR.)

Copy link
Member Author

Choose a reason for hiding this comment

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

I prefer these in separate lines... I prefer what rustfmt did.

@alexcrichton
Copy link
Member

r? @nrc

@rust-highfive rust-highfive assigned nrc and unassigned alexcrichton Jan 11, 2016
@nrc
Copy link
Member

nrc commented Jan 12, 2016

There's a comment missing around line -1279/+1466

@nrc
Copy link
Member

nrc commented Jan 12, 2016

r+ with the missing comment addressed.

@tshepang
Copy link
Member Author

r? @nrc

@tshepang
Copy link
Member Author

That comment makes me a little confused... why is the shebang considered a comment?

@nrc
Copy link
Member

nrc commented Jan 12, 2016

You can start a Rust program with a shebang, and it is ignored by Rust, i.e., treated as a comment. Only shells and so forth would process it.

@nrc
Copy link
Member

nrc commented Jan 12, 2016

@bors: r+

@bors
Copy link
Contributor

bors commented Jan 12, 2016

📌 Commit aa3b4c6 has been approved by nrc

@bors
Copy link
Contributor

bors commented Jan 13, 2016

⌛ Testing commit aa3b4c6 with merge d3c83fe...

@bors bors merged commit aa3b4c6 into rust-lang:master Jan 13, 2016
@tshepang tshepang deleted the rustfmt-lexer-part2 branch January 13, 2016 20:28
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.

6 participants