File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -669,15 +669,12 @@ macro_rules! nonzero_signed_operations {
669669 #[ doc = concat!( "let neg = " , stringify!( $Ty) , "::new(-1)?;" ) ]
670670 #[ doc = concat!( "let min = " , stringify!( $Ty) , "::new(" ,
671671 stringify!( $Int) , "::MIN)?;" ) ]
672- #[ doc = concat!( "let min_plus = " , stringify!( $Ty) , "::new(" ,
673- stringify!( $Int) , "::MIN + 1)?;" ) ]
674- #[ doc = concat!( "let max = " , stringify!( $Ty) , "::new(" ,
672+ #[ doc = concat!( "# let max = " , stringify!( $Ty) , "::new(" ,
675673 stringify!( $Int) , "::MAX)?;" ) ]
676674 ///
677675 /// assert_eq!(pos, pos.wrapping_abs());
678676 /// assert_eq!(pos, neg.wrapping_abs());
679677 /// assert_eq!(min, min.wrapping_abs());
680- /// assert_eq!(max, min_plus.wrapping_abs());
681678 /// # // FIXME: add once Neg is implemented?
682679 /// # // assert_eq!(max, (-max).wrapping_abs());
683680 /// # Some(())
You can’t perform that action at this time.
0 commit comments