@@ -866,7 +866,7 @@ macro_rules! uint_impl {
866866 /// # Safety
867867 ///
868868 /// This results in undefined behavior when
869- #[ doc = concat!( "`self + rhs > " , stringify!( $SelfT) , "::MAX` or `self + rhs < " , stringify! ( $SelfT ) , "::MIN` ,") ]
869+ #[ doc = concat!( "`self + rhs > " , stringify!( $SelfT) , "::MAX`," ) ]
870870 /// i.e. when [`checked_add`] would return `None`.
871871 ///
872872 /// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
@@ -1045,7 +1045,7 @@ macro_rules! uint_impl {
10451045 /// # Safety
10461046 ///
10471047 /// This results in undefined behavior when
1048- #[ doc = concat!( "`self - rhs > " , stringify! ( $SelfT ) , "::MAX` or `self - rhs < ", stringify!( $SelfT) , "::MIN`," ) ]
1048+ #[ doc = concat!( "`self - rhs < " , stringify!( $SelfT) , "::MIN`," ) ]
10491049 /// i.e. when [`checked_sub`] would return `None`.
10501050 ///
10511051 /// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
@@ -1254,7 +1254,7 @@ macro_rules! uint_impl {
12541254 /// # Safety
12551255 ///
12561256 /// This results in undefined behavior when
1257- #[ doc = concat!( "`self * rhs > " , stringify!( $SelfT) , "::MAX` or `self * rhs < " , stringify! ( $SelfT ) , "::MIN` ,") ]
1257+ #[ doc = concat!( "`self * rhs > " , stringify!( $SelfT) , "::MAX`," ) ]
12581258 /// i.e. when [`checked_mul`] would return `None`.
12591259 ///
12601260 /// [`unwrap_unchecked`]: option/enum.Option.html#method.unwrap_unchecked
0 commit comments