@@ -2401,7 +2401,7 @@ impl usize {
24012401/// assert_eq!(nan.classify(), FpCategory::Nan);
24022402/// assert_eq!(sub.classify(), FpCategory::Subnormal);
24032403/// ```
2404- #[ derive( Copy , Clone , PartialEq , Debug ) ]
2404+ #[ derive( Copy , Clone , PartialEq , Eq , Debug ) ]
24052405#[ stable( feature = "rust1" , since = "1.0.0" ) ]
24062406pub enum FpCategory {
24072407 /// "Not a Number", often obtained by dividing by zero.
@@ -2744,11 +2744,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32)
27442744/// on the primitive integer types, such as [`i8::from_str_radix()`].
27452745///
27462746/// [`i8::from_str_radix()`]: ../../std/primitive.i8.html#method.from_str_radix
2747- #[ derive( Debug , Clone , PartialEq ) ]
2747+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
27482748#[ stable( feature = "rust1" , since = "1.0.0" ) ]
27492749pub struct ParseIntError { kind : IntErrorKind }
27502750
2751- #[ derive( Debug , Clone , PartialEq ) ]
2751+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
27522752enum IntErrorKind {
27532753 Empty ,
27542754 InvalidDigit ,
0 commit comments