@@ -586,18 +586,18 @@ extern "rust-intrinsic" {
586
586
pub fn overflowing_mul < T > ( a : T , b : T ) -> T ;
587
587
588
588
/// Performs an unchecked signed division, which results in undefined behavior,
589
- /// in cases where y == 0, or x == int ::MIN and y == -1
589
+ /// in cases where y == 0, or x == isize ::MIN and y == -1
590
590
pub fn unchecked_sdiv < T > ( x : T , y : T ) -> T ;
591
591
/// Performs an unchecked unsigned division, which results in undefined behavior,
592
592
/// in cases where y == 0
593
593
pub fn unchecked_udiv < T > ( x : T , y : T ) -> T ;
594
594
595
595
/// Returns the remainder of an unchecked signed division, which results in
596
- /// undefined behavior, in cases where y == 0, or x == int::MIN and y == -1
597
- pub fn unchecked_urem < T > ( x : T , y : T ) -> T ;
598
- /// Returns the remainder of an unchecked signed division, which results in
599
- /// undefined behavior, in cases where y == 0
596
+ /// undefined behavior, in cases where y == 0, or x == isize::MIN and y == -1
600
597
pub fn unchecked_srem < T > ( x : T , y : T ) -> T ;
598
+ /// Returns the remainder of an unchecked unsigned division, which results in
599
+ /// undefined behavior, in cases where y == 0
600
+ pub fn unchecked_urem < T > ( x : T , y : T ) -> T ;
601
601
602
602
/// Returns the value of the discriminant for the variant in 'v',
603
603
/// cast to a `u64`; if `T` has no discriminant, returns 0.
0 commit comments