@@ -1731,19 +1731,19 @@ extern "rust-intrinsic" {
17311731 pub fn mul_with_overflow < T > ( x : T , y : T ) -> ( T , bool ) ;
17321732
17331733 /// Performs an exact division, resulting in undefined behavior where
1734- /// `x % y != 0` or `y == 0` or `x == T::min_value() && y == -1`
1734+ /// `x % y != 0` or `y == 0` or `x == T::MIN && y == -1`
17351735 pub fn exact_div < T > ( x : T , y : T ) -> T ;
17361736
17371737 /// Performs an unchecked division, resulting in undefined behavior
1738- /// where y = 0 or x = `T::min_value() ` and y = -1
1738+ /// where y = 0 or x = `T::MIN ` and y = -1
17391739 ///
17401740 /// The stabilized versions of this intrinsic are available on the integer
17411741 /// primitives via the `checked_div` method. For example,
17421742 /// [`std::u32::checked_div`](../../std/primitive.u32.html#method.checked_div)
17431743 #[ rustc_const_unstable( feature = "const_int_unchecked_arith" , issue = "none" ) ]
17441744 pub fn unchecked_div < T > ( x : T , y : T ) -> T ;
17451745 /// Returns the remainder of an unchecked division, resulting in
1746- /// undefined behavior where y = 0 or x = `T::min_value() ` and y = -1
1746+ /// undefined behavior where y = 0 or x = `T::MIN ` and y = -1
17471747 ///
17481748 /// The stabilized versions of this intrinsic are available on the integer
17491749 /// primitives via the `checked_rem` method. For example,
@@ -1769,17 +1769,17 @@ extern "rust-intrinsic" {
17691769 pub fn unchecked_shr < T > ( x : T , y : T ) -> T ;
17701770
17711771 /// Returns the result of an unchecked addition, resulting in
1772- /// undefined behavior when `x + y > T::max_value() ` or `x + y < T::min_value() `.
1772+ /// undefined behavior when `x + y > T::MAX ` or `x + y < T::MIN `.
17731773 #[ rustc_const_unstable( feature = "const_int_unchecked_arith" , issue = "none" ) ]
17741774 pub fn unchecked_add < T > ( x : T , y : T ) -> T ;
17751775
17761776 /// Returns the result of an unchecked subtraction, resulting in
1777- /// undefined behavior when `x - y > T::max_value() ` or `x - y < T::min_value() `.
1777+ /// undefined behavior when `x - y > T::MAX ` or `x - y < T::MIN `.
17781778 #[ rustc_const_unstable( feature = "const_int_unchecked_arith" , issue = "none" ) ]
17791779 pub fn unchecked_sub < T > ( x : T , y : T ) -> T ;
17801780
17811781 /// Returns the result of an unchecked multiplication, resulting in
1782- /// undefined behavior when `x * y > T::max_value() ` or `x * y < T::min_value() `.
1782+ /// undefined behavior when `x * y > T::MAX ` or `x * y < T::MIN `.
17831783 #[ rustc_const_unstable( feature = "const_int_unchecked_arith" , issue = "none" ) ]
17841784 pub fn unchecked_mul < T > ( x : T , y : T ) -> T ;
17851785
0 commit comments