Skip to content

Commit ea7ba21

Browse files
authored
feat: do not specify not-equal at all
See #1264 (comment)
1 parent e93265a commit ea7ba21

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/attributes/derive.md

-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ impl<T: PartialEq> PartialEq for Foo<T> {
2424
fn eq(&self, other: &Foo<T>) -> bool {
2525
self.a == other.a && self.b == other.b
2626
}
27-
28-
fn ne(&self, other: &Foo<T>) -> bool {
29-
!self.eq(other)
30-
}
3127
}
3228
```
3329

0 commit comments

Comments
 (0)