@@ -2401,7 +2401,7 @@ impl usize {
2401
2401
/// assert_eq!(nan.classify(), FpCategory::Nan);
2402
2402
/// assert_eq!(sub.classify(), FpCategory::Subnormal);
2403
2403
/// ```
2404
- #[ derive( Copy , Clone , PartialEq , Debug ) ]
2404
+ #[ derive( Copy , Clone , PartialEq , Eq , Debug ) ]
2405
2405
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2406
2406
pub enum FpCategory {
2407
2407
/// "Not a Number", often obtained by dividing by zero.
@@ -2744,11 +2744,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32)
2744
2744
/// on the primitive integer types, such as [`i8::from_str_radix()`].
2745
2745
///
2746
2746
/// [`i8::from_str_radix()`]: ../../std/primitive.i8.html#method.from_str_radix
2747
- #[ derive( Debug , Clone , PartialEq ) ]
2747
+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
2748
2748
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
2749
2749
pub struct ParseIntError { kind : IntErrorKind }
2750
2750
2751
- #[ derive( Debug , Clone , PartialEq ) ]
2751
+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
2752
2752
enum IntErrorKind {
2753
2753
Empty ,
2754
2754
InvalidDigit ,
0 commit comments