We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635c4a5 commit d49123dCopy full SHA for d49123d
library/core/src/cmp.rs
@@ -281,9 +281,9 @@ pub macro PartialEq($item:item) {
281
#[stable(feature = "rust1", since = "1.0.0")]
282
#[rustc_diagnostic_item = "Eq"]
283
pub trait Eq: PartialEq<Self> {
284
- // this method is used solely by #[deriving] to assert
285
- // that every component of a type implements #[deriving]
286
- // itself, the current deriving infrastructure means doing this
+ // this method is used solely by #[derive(Eq)] to assert
+ // that every component of a type implements `Eq`
+ // itself. The current deriving infrastructure means doing this
287
// assertion without using a method on this trait is nearly
288
// impossible.
289
//
0 commit comments