-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Various rustfmt and commenting changes #49969
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #49433) made this pull request unmergeable. Please resolve the merge conflicts. |
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.
LGTM overall, fix the merge conflict and r=me. That being said, I'd lean towards really small rustfmt PRs to minimize the likelihood of causing merge conflicts for open PRs.
base.push(::rustc_trans_utils::link::default_output_for_target(session)); | ||
base.push(::rustc_trans_utils::link::default_output_for_target( | ||
session, | ||
)); |
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.
this is an odd change
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 just ran rustfmt
on the file. I'm guessing it is avoiding >=100 chars per line...
session.warn(&format!( | ||
"dropping unsupported crate type `{}` for target `{}`", | ||
*crate_type, session.opts.target_triple | ||
)); |
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 don't see this change as an improvement :-/
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.
Eh, I could accept either way...
@estebank Thanks :) Rebased. |
@bors r+ |
📌 Commit d984e4a has been approved by |
☔ The latest upstream changes (presumably #49882) made this pull request unmergeable. Please resolve the merge conflicts. |
@estebank rebased. |
@bors r+ |
📌 Commit 787b705 has been approved by |
Various rustfmt and commenting changes These are factored out of #49320 There aren't actually any changes in functionality, just rustfmt and doccomments.
☀️ Test successful - status-appveyor, status-travis |
These are factored out of #49320
There aren't actually any changes in functionality, just rustfmt and doccomments.