Skip to content

Commit 7f08376

Browse files
committed
Partially stabilize #![feature(int_roundings)]
1 parent b08dd92 commit 7f08376

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: library/core/src/num/uint_macros.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -2074,10 +2074,10 @@ macro_rules! uint_impl {
20742074
/// Basic usage:
20752075
///
20762076
/// ```
2077-
/// #![feature(int_roundings)]
20782077
#[doc = concat!("assert_eq!(7_", stringify!($SelfT), ".div_ceil(4), 2);")]
20792078
/// ```
2080-
#[unstable(feature = "int_roundings", issue = "88581")]
2079+
#[stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
2080+
#[rustc_const_stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
20812081
#[must_use = "this returns the result of the operation, \
20822082
without modifying the original"]
20832083
#[inline]
@@ -2109,11 +2109,11 @@ macro_rules! uint_impl {
21092109
/// Basic usage:
21102110
///
21112111
/// ```
2112-
/// #![feature(int_roundings)]
21132112
#[doc = concat!("assert_eq!(16_", stringify!($SelfT), ".next_multiple_of(8), 16);")]
21142113
#[doc = concat!("assert_eq!(23_", stringify!($SelfT), ".next_multiple_of(8), 24);")]
21152114
/// ```
2116-
#[unstable(feature = "int_roundings", issue = "88581")]
2115+
#[stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
2116+
#[rustc_const_stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
21172117
#[must_use = "this returns the result of the operation, \
21182118
without modifying the original"]
21192119
#[inline]
@@ -2134,13 +2134,13 @@ macro_rules! uint_impl {
21342134
/// Basic usage:
21352135
///
21362136
/// ```
2137-
/// #![feature(int_roundings)]
21382137
#[doc = concat!("assert_eq!(16_", stringify!($SelfT), ".checked_next_multiple_of(8), Some(16));")]
21392138
#[doc = concat!("assert_eq!(23_", stringify!($SelfT), ".checked_next_multiple_of(8), Some(24));")]
21402139
#[doc = concat!("assert_eq!(1_", stringify!($SelfT), ".checked_next_multiple_of(0), None);")]
21412140
#[doc = concat!("assert_eq!(", stringify!($SelfT), "::MAX.checked_next_multiple_of(2), None);")]
21422141
/// ```
2143-
#[unstable(feature = "int_roundings", issue = "88581")]
2142+
#[stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
2143+
#[rustc_const_stable(feature = "int_roundings1", since = "CURRENT_RUSTC_VERSION")]
21442144
#[must_use = "this returns the result of the operation, \
21452145
without modifying the original"]
21462146
#[inline]

0 commit comments

Comments
 (0)