@@ -468,7 +468,7 @@ macro_rules! int_impl {
468
468
/// to `-MIN`, a positive value that is too large to represent
469
469
/// in the type. In such a case, this function returns `MIN`
470
470
/// itself..
471
- #[ unstable ( feature = "num_wrapping" ) ]
471
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
472
472
#[ inline( always) ]
473
473
pub fn wrapping_div( self , rhs: Self ) -> Self {
474
474
self . overflowing_div( rhs) . 0
@@ -481,7 +481,7 @@ macro_rules! int_impl {
481
481
/// implementation artifacts make `x % y` illegal for `MIN /
482
482
/// -1` on a signed type illegal (where `MIN` is the negative
483
483
/// minimal value). In such a case, this function returns `0`.
484
- #[ unstable ( feature = "num_wrapping" ) ]
484
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
485
485
#[ inline( always) ]
486
486
pub fn wrapping_rem( self , rhs: Self ) -> Self {
487
487
self . overflowing_rem( rhs) . 0
@@ -495,7 +495,7 @@ macro_rules! int_impl {
495
495
/// negative minimal value for the type); this is a positive
496
496
/// value that is too large to represent in the type. In such
497
497
/// a case, this function returns `MIN` itself.
498
- #[ unstable ( feature = "num_wrapping" ) ]
498
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
499
499
#[ inline( always) ]
500
500
pub fn wrapping_neg( self ) -> Self {
501
501
self . overflowing_neg( ) . 0
@@ -504,7 +504,7 @@ macro_rules! int_impl {
504
504
/// Panic-free bitwise shift-left; yields `self << mask(rhs)`,
505
505
/// where `mask` removes any high-order bits of `rhs` that
506
506
/// would cause the shift to exceed the bitwidth of the type.
507
- #[ unstable ( feature = "num_wrapping" ) ]
507
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
508
508
#[ inline( always) ]
509
509
pub fn wrapping_shl( self , rhs: u32 ) -> Self {
510
510
self . overflowing_shl( rhs) . 0
@@ -513,7 +513,7 @@ macro_rules! int_impl {
513
513
/// Panic-free bitwise shift-left; yields `self >> mask(rhs)`,
514
514
/// where `mask` removes any high-order bits of `rhs` that
515
515
/// would cause the shift to exceed the bitwidth of the type.
516
- #[ unstable ( feature = "num_wrapping" ) ]
516
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
517
517
#[ inline( always) ]
518
518
pub fn wrapping_shr( self , rhs: u32 ) -> Self {
519
519
self . overflowing_shr( rhs) . 0
@@ -1038,7 +1038,7 @@ macro_rules! uint_impl {
1038
1038
/// to `-MIN`, a positive value that is too large to represent
1039
1039
/// in the type. In such a case, this function returns `MIN`
1040
1040
/// itself..
1041
- #[ unstable ( feature = "num_wrapping" ) ]
1041
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
1042
1042
#[ inline( always) ]
1043
1043
pub fn wrapping_div( self , rhs: Self ) -> Self {
1044
1044
self . overflowing_div( rhs) . 0
@@ -1051,7 +1051,7 @@ macro_rules! uint_impl {
1051
1051
/// implementation artifacts make `x % y` illegal for `MIN /
1052
1052
/// -1` on a signed type illegal (where `MIN` is the negative
1053
1053
/// minimal value). In such a case, this function returns `0`.
1054
- #[ unstable ( feature = "num_wrapping" ) ]
1054
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
1055
1055
#[ inline( always) ]
1056
1056
pub fn wrapping_rem( self , rhs: Self ) -> Self {
1057
1057
self . overflowing_rem( rhs) . 0
@@ -1065,7 +1065,7 @@ macro_rules! uint_impl {
1065
1065
/// negative minimal value for the type); this is a positive
1066
1066
/// value that is too large to represent in the type. In such
1067
1067
/// a case, this function returns `MIN` itself.
1068
- #[ unstable ( feature = "num_wrapping" ) ]
1068
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
1069
1069
#[ inline( always) ]
1070
1070
pub fn wrapping_neg( self ) -> Self {
1071
1071
self . overflowing_neg( ) . 0
@@ -1074,7 +1074,7 @@ macro_rules! uint_impl {
1074
1074
/// Panic-free bitwise shift-left; yields `self << mask(rhs)`,
1075
1075
/// where `mask` removes any high-order bits of `rhs` that
1076
1076
/// would cause the shift to exceed the bitwidth of the type.
1077
- #[ unstable ( feature = "num_wrapping" ) ]
1077
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
1078
1078
#[ inline( always) ]
1079
1079
pub fn wrapping_shl( self , rhs: u32 ) -> Self {
1080
1080
self . overflowing_shl( rhs) . 0
@@ -1083,7 +1083,7 @@ macro_rules! uint_impl {
1083
1083
/// Panic-free bitwise shift-left; yields `self >> mask(rhs)`,
1084
1084
/// where `mask` removes any high-order bits of `rhs` that
1085
1085
/// would cause the shift to exceed the bitwidth of the type.
1086
- #[ unstable ( feature = "num_wrapping" ) ]
1086
+ #[ stable ( feature = "num_wrapping" , since = "1.2.0 ") ]
1087
1087
#[ inline( always) ]
1088
1088
pub fn wrapping_shr( self , rhs: u32 ) -> Self {
1089
1089
self . overflowing_shr( rhs) . 0
0 commit comments