File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -573,8 +573,8 @@ where T: SignedInfinity, E: Into<RangeErrorKind> {
573
573
use self :: RangeErrorKind :: * ;
574
574
match self . map_err ( Into :: into) {
575
575
Ok ( v) => v,
576
- Err ( NegOverflow ( .. ) ) => T :: neg_infinity ( ) ,
577
- Err ( PosOverflow ( .. ) ) => T :: pos_infinity ( ) ,
576
+ Err ( NegOverflow ) => T :: neg_infinity ( ) ,
577
+ Err ( PosOverflow ) => T :: pos_infinity ( ) ,
578
578
}
579
579
}
580
580
}
@@ -599,8 +599,8 @@ where T: Saturated, E: Into<RangeErrorKind> {
599
599
use self :: RangeErrorKind :: * ;
600
600
match self . map_err ( Into :: into) {
601
601
Ok ( v) => v,
602
- Err ( NegOverflow ( .. ) ) => T :: saturated_min ( ) ,
603
- Err ( PosOverflow ( .. ) ) => T :: saturated_max ( ) ,
602
+ Err ( NegOverflow ) => T :: saturated_min ( ) ,
603
+ Err ( PosOverflow ) => T :: saturated_max ( ) ,
604
604
}
605
605
}
606
606
}
You can’t perform that action at this time.
0 commit comments