-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Conversation
(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 { |
There was a problem hiding this comment.
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.)
There was a problem hiding this comment.
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.
r? @nrc |
There's a comment missing around line -1279/+1466 |
r+ with the missing comment addressed. |
r? @nrc |
That comment makes me a little confused... why is the shebang considered a comment? |
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. |
@bors: r+ |
📌 Commit aa3b4c6 has been approved by |
No description provided.