-
Notifications
You must be signed in to change notification settings - Fork 13.3k
code format #39881
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
code format #39881
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
src/libcore/iter/iterator.rs
Outdated
/// and "comparison" function. | ||
/// | ||
/// This is an idiosyncratic helper to try to factor out the | ||
/// commonalities of {max,min}{,_by}. In particular, this avoids | ||
/// having to implement optimizations several times. | ||
#[inline] | ||
fn select_fold1<I,B, FProj, FCmp>(mut it: I, | ||
fn select_fold1<I, B, FProj, FCmp>(mut it: I, |
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.
Unaligned parameters
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.
Oops, updated using rustfmt
@brson ping |
There are some debatable changes esp wrt the where clauses. I think this is the primary reason why the whole codebase not rustfmtd yet. We're also waiting for style RFCs to conclude. |
If theres just a few primary concerns (like Also, if it's just a matter of running |
@shepmaster yeah, I will update this PR later tomorrow. Night in Beijing and girlfriend urging me to sleep :) |
Updated |
I didn't see the previous version but the current changes look uncontroversial. Thanks for the PR, @king6cong. @bors r+ |
📌 Commit 7c8ca80 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
No description provided.