@@ -1300,14 +1300,14 @@ extern "rust-intrinsic" {
13001300 pub fn mul_with_overflow < T > ( x : T , y : T ) -> ( T , bool ) ;
13011301
13021302 /// Performs an exact division, resulting in undefined behavior where
1303- /// `x % y != 0` or `y == 0` or `x == T::min_value() && y == -1`
1303+ /// `x % y != 0` or `y == 0` or `x == T::MIN && y == -1`
13041304 pub fn exact_div < T > ( x : T , y : T ) -> T ;
13051305
13061306 /// Performs an unchecked division, resulting in undefined behavior
1307- /// where y = 0 or x = `T::min_value() ` and y = -1
1307+ /// where y = 0 or x = `T::MIN ` and y = -1
13081308 pub fn unchecked_div < T > ( x : T , y : T ) -> T ;
13091309 /// Returns the remainder of an unchecked division, resulting in
1310- /// undefined behavior where y = 0 or x = `T::min_value() ` and y = -1
1310+ /// undefined behavior where y = 0 or x = `T::MIN ` and y = -1
13111311 pub fn unchecked_rem < T > ( x : T , y : T ) -> T ;
13121312
13131313 /// Performs an unchecked left shift, resulting in undefined behavior when
@@ -1320,15 +1320,15 @@ extern "rust-intrinsic" {
13201320 pub fn unchecked_shr < T > ( x : T , y : T ) -> T ;
13211321
13221322 /// Returns the result of an unchecked addition, resulting in
1323- /// undefined behavior when `x + y > T::max_value() ` or `x + y < T::min_value() `.
1323+ /// undefined behavior when `x + y > T::MAX ` or `x + y < T::MIN `.
13241324 pub fn unchecked_add < T > ( x : T , y : T ) -> T ;
13251325
13261326 /// Returns the result of an unchecked subtraction, resulting in
1327- /// undefined behavior when `x - y > T::max_value() ` or `x - y < T::min_value() `.
1327+ /// undefined behavior when `x - y > T::MAX ` or `x - y < T::MIN `.
13281328 pub fn unchecked_sub < T > ( x : T , y : T ) -> T ;
13291329
13301330 /// Returns the result of an unchecked multiplication, resulting in
1331- /// undefined behavior when `x * y > T::max_value() ` or `x * y < T::min_value() `.
1331+ /// undefined behavior when `x * y > T::MAX ` or `x * y < T::MIN `.
13321332 pub fn unchecked_mul < T > ( x : T , y : T ) -> T ;
13331333
13341334 /// Performs rotate left.
0 commit comments