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> {
573573 use self :: RangeErrorKind :: * ;
574574 match self . map_err ( Into :: into) {
575575 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 ( ) ,
578578 }
579579 }
580580}
@@ -599,8 +599,8 @@ where T: Saturated, E: Into<RangeErrorKind> {
599599 use self :: RangeErrorKind :: * ;
600600 match self . map_err ( Into :: into) {
601601 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 ( ) ,
604604 }
605605 }
606606}
You can’t perform that action at this time.
0 commit comments