Skip to content

Commit a38bf6e

Browse files
committed
core: Mark Wrapping impls as stable
These are all insta-stable anyway, so just properly tag them.
1 parent 1c440bd commit a38bf6e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/libcore/num/wrapping.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ macro_rules! sh_impl_signed {
5252
}
5353
}
5454

55-
#[unstable(feature = "wrapping_impls", reason = "recently added", issue = "30524")]
55+
#[stable(feature = "wrapping_impls", since = "1.7.0")]
5656
impl ShlAssign<$f> for Wrapping<$t> {
5757
#[inline(always)]
5858
fn shl_assign(&mut self, other: $f) {
@@ -74,7 +74,7 @@ macro_rules! sh_impl_signed {
7474
}
7575
}
7676

77-
#[unstable(feature = "wrapping_impls", reason = "recently added", issue = "30524")]
77+
#[stable(feature = "wrapping_impls", since = "1.7.0")]
7878
impl ShrAssign<$f> for Wrapping<$t> {
7979
#[inline(always)]
8080
fn shr_assign(&mut self, other: $f) {
@@ -96,7 +96,7 @@ macro_rules! sh_impl_unsigned {
9696
}
9797
}
9898

99-
#[unstable(feature = "wrapping_impls", reason = "recently added", issue = "30524")]
99+
#[stable(feature = "wrapping_impls", since = "1.7.0")]
100100
impl ShlAssign<$f> for Wrapping<$t> {
101101
#[inline(always)]
102102
fn shl_assign(&mut self, other: $f) {
@@ -114,7 +114,7 @@ macro_rules! sh_impl_unsigned {
114114
}
115115
}
116116

117-
#[unstable(feature = "wrapping_impls", reason = "recently added", issue = "30524")]
117+
#[stable(feature = "wrapping_impls", since = "1.7.0")]
118118
impl ShrAssign<$f> for Wrapping<$t> {
119119
#[inline(always)]
120120
fn shr_assign(&mut self, other: $f) {
@@ -218,7 +218,7 @@ macro_rules! wrapping_impl {
218218
}
219219
}
220220

221-
#[unstable(feature = "wrapping_impls", reason = "recently added", issue = "30524")]
221+
#[stable(feature = "wrapping_impls", since = "1.7.0")]
222222
impl Rem for Wrapping<$t> {
223223
type Output = Wrapping<$t>;
224224

0 commit comments

Comments
 (0)