-
Notifications
You must be signed in to change notification settings - Fork 924
Split impl at 'for' if a line break is needed #1148
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
@@ -13,20 +13,20 @@ pub impl Foo for Bar { | |||
} | |||
|
|||
pub unsafe impl<'a, 'b, X, Y: Foo<Bar>> !Foo<'a, X> for Bar<'b, Y> where X: Foo<'a, Z> { | |||
fn foo() { "hi" } | |||
fn foo() { "hi" } |
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, my editor removed these trailing white spaces... Have they been there intentionally?
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.
yes
|
||
impl<BorrowType, K, V, NodeType, HandleType> PartialEq | ||
for Handle<NodeRef<BorrowType, K, V, NodeType>, HandleType> { | ||
} |
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.
could you change the source of the test to be incorrectly formatted please
looks good, just a couple of minor things to fix, thanks! |
Really should learn how to use git revert.
@nrc done. |
Thank you! |
My pleasure. |
Fix #1037.