-
Notifications
You must be signed in to change notification settings - Fork 13k
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 trailing whitespace at the end of lines #32235
Conversation
@@ -6,12 +6,12 @@ | |||
# met: | |||
|
|||
# (1) Redistributions of source code must retain the above copyright | |||
# notice, this list of conditions and the following disclaimer. |
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.
AFAIK libbracktrace is not part of Rust proper, so the Rust styleguide doesn't apply (and these files shouldn't be modified anyway if at all possible, because it complicates upgrades).
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.
Be careful with markdown files! I can't give this a proper review right now, but trailing white space is significant in them, it's used in the book intentionally at least once.
On Mar 13, 2016, 16:16 -0400, [email protected], wrote:
Insrc/libbacktrace/Makefile.am(#32235 (comment)):
@@ -6,12 +6,12 @@># met:>># (1) Redistributions of source code must retain the above copyright>-# notice, this list of conditions and the following disclaimer.
libbracktrace is not part of Rust proper, so the Rust styleguide doesn't apply (and these files shouldn't be modified anyway if at all possible, because it complicates upgrades).
—
Reply to this email directly orview it on GitHub(https://github.com/rust-lang/rust/pull/32235/files#r55942955).
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.
Thank you for your comments! This change can be abandoned and be split for easier reviewing. Sorry about making a big change. Of course if trailing whitespaces are not a problem at all, then change does not have to be made in first place.
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 think that generally, removing it is good, but it can't be fully done with a script, eg, for reasons like both of these.
I agree with @rkruppe about everything in libbacktrace
. I'll review the rest now.
Okay, yeah, all of this looks fine, except libbacktrace. |
There should not be anymore changes to |
@bors: r+ rollup thanks so much! |
📌 Commit dcadf29 has been approved by |
Thanks for comments. I will try to make smaller commits in the future to make reviews easier. |
☔ The latest upstream changes (presumably #30652) made this pull request unmergeable. Please resolve the merge conflicts. |
☔ The latest upstream changes (presumably #32402) made this pull request unmergeable. Please resolve the merge conflicts. |
I rebased this pull request. |
@bors r+ rollup |
📌 Commit ccafdae has been approved by |
Remove trailing whitespace at the end of lines According the rules of styling Rust code there should not be trailing whitespace at the end of lines or files. I thought that it might be good to remove trailing whitespace from other files also, if it does not break anything.
According the rules of styling Rust code there should not be trailing whitespace at the end of lines or files. I thought that it might be good to remove trailing whitespace from other files also, if it does not break anything.