Skip to content

Commit 9f844c6

Browse files
authored
Merge pull request #1264 from BD103/patch-1
Remove `ne` from derive example
2 parents 9ea36a3 + ea7ba21 commit 9f844c6

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.a != other.a || self.b != other.b
30-
}
3127
}
3228
```
3329

0 commit comments

Comments
 (0)