-
Notifications
You must be signed in to change notification settings - Fork 13.3k
run rustfmt on libcollections module #33966
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
Conversation
r? @gankro (rust_highfive has picked a reviewer for you, use r? to override) |
r? @Manishearth cc to @nrc |
@@ -986,7 +992,7 @@ impl<A> Extend<A> for LinkedList<A> { | |||
} | |||
|
|||
impl<I: IntoIterator> SpecExtend<I> for LinkedList<I::Item> { | |||
default fn spec_extend(&mut self, iter: I) { | |||
fn spec_extend(&mut self, iter: 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.
A default
has been stripped here.
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.
wooo. @nrc
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.
☔ The latest upstream changes (presumably #33947) made this pull request unmergeable. Please resolve the merge conflicts. |
impl<T> ToOwned for T where T: Clone { | ||
impl<T> ToOwned for T | ||
where T: Clone | ||
{ |
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.
Why is the parenthesis going back to line? That's quite ugly. :-/
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.
(rustfmt bug again)
I think this is intentional though, since the where clause was indented
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.
It is intentional - we do this by hand with where clauses too
As much as I like rustfmt, some changes are very ugly. :-/ |
The |
Needs a rebase and some fixes. Closing for now, feel free to reopen if you finish these. Thanks! |
Closing due to inactivity, but feel free to resubmit with a rebase! |
No description provided.