Skip to content

Commit 00bf999

Browse files
Incorporate review feedback
1 parent 089475a commit 00bf999

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

library/core/src/num/nonzero.rs

+1-4
Original file line numberDiff line numberDiff 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(())

0 commit comments

Comments
 (0)