Skip to content

Commit 8ad02e0

Browse files
Merge pull request #1264 from BD103/patch-1
Remove `ne` from derive example
2 parents 8fa57b2 + c5fb1b3 commit 8ad02e0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/attributes/derive.md

Lines changed: 0 additions & 4 deletions
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.a != other.a || self.b != other.b
30-
}
3127
}
3228
```
3329

0 commit comments

Comments
 (0)