diff --git a/src/attributes/derive.md b/src/attributes/derive.md index b8909ac71..bb5631f7a 100644 --- a/src/attributes/derive.md +++ b/src/attributes/derive.md @@ -24,10 +24,6 @@ impl PartialEq for Foo { fn eq(&self, other: &Foo) -> bool { self.a == other.a && self.b == other.b } - - fn ne(&self, other: &Foo) -> bool { - self.a != other.a || self.b != other.b - } } ```