diff options
Diffstat (limited to '')
-rw-r--r-- | src/doc/reference/src/attributes/derive.md | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/doc/reference/src/attributes/derive.md b/src/doc/reference/src/attributes/derive.md index b8909ac71..bb5631f7a 100644 --- a/src/doc/reference/src/attributes/derive.md +++ b/src/doc/reference/src/attributes/derive.md @@ -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 - } } ``` |