Skip to content

Commit

Permalink
Merge pull request #1264 from BD103/patch-1
Browse files Browse the repository at this point in the history
Remove `ne` from derive example
  • Loading branch information
ehuss authored Sep 9, 2022
2 parents 9ea36a3 + ea7ba21 commit 9f844c6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/attributes/derive.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ impl<T: PartialEq> PartialEq for Foo<T> {
fn eq(&self, other: &Foo<T>) -> bool {
self.a == other.a && self.b == other.b
}

fn ne(&self, other: &Foo<T>) -> bool {
self.a != other.a || self.b != other.b
}
}
```

Expand Down

0 comments on commit 9f844c6

Please sign in to comment.