We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa57b2 commit d4d4e59Copy full SHA for d4d4e59
src/attributes/derive.md
@@ -26,7 +26,7 @@ impl<T: PartialEq> PartialEq for Foo<T> {
26
}
27
28
fn ne(&self, other: &Foo<T>) -> bool {
29
- self.a != other.a || self.b != other.b
+ !self.eq(other)
30
31
32
```
0 commit comments