Skip to content

Commit 49531a2

Browse files
Stabilize round_ties_even
1 parent 88189a7 commit 49531a2

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

library/std/src/f32.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ impl f32 {
102102
/// # Examples
103103
///
104104
/// ```
105-
/// #![feature(round_ties_even)]
106-
///
107105
/// let f = 3.3_f32;
108106
/// let g = -3.3_f32;
109107
/// let h = 3.5_f32;
@@ -116,7 +114,7 @@ impl f32 {
116114
/// ```
117115
#[rustc_allow_incoherent_impl]
118116
#[must_use = "method returns a new number and does not mutate the original value"]
119-
#[unstable(feature = "round_ties_even", issue = "96710")]
117+
#[stable(feature = "round_ties_even", since = "CURRENT_RUSTC_VERSION")]
120118
#[inline]
121119
pub fn round_ties_even(self) -> f32 {
122120
unsafe { intrinsics::rintf32(self) }

library/std/src/f64.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ impl f64 {
102102
/// # Examples
103103
///
104104
/// ```
105-
/// #![feature(round_ties_even)]
106-
///
107105
/// let f = 3.3_f64;
108106
/// let g = -3.3_f64;
109107
/// let h = 3.5_f64;
@@ -116,7 +114,7 @@ impl f64 {
116114
/// ```
117115
#[rustc_allow_incoherent_impl]
118116
#[must_use = "method returns a new number and does not mutate the original value"]
119-
#[unstable(feature = "round_ties_even", issue = "96710")]
117+
#[stable(feature = "round_ties_even", since = "CURRENT_RUSTC_VERSION")]
120118
#[inline]
121119
pub fn round_ties_even(self) -> f64 {
122120
unsafe { intrinsics::rintf64(self) }

library/std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,6 @@
338338
#![feature(prelude_2024)]
339339
#![feature(ptr_as_uninit)]
340340
#![feature(raw_os_nonzero)]
341-
#![feature(round_ties_even)]
342341
#![feature(slice_internals)]
343342
#![feature(slice_ptr_get)]
344343
#![feature(slice_range)]

src/tools/miri/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
#![feature(variant_count)]
99
#![feature(yeet_expr)]
1010
#![feature(nonzero_ops)]
11-
#![feature(round_ties_even)]
1211
#![feature(let_chains)]
1312
#![feature(lint_reasons)]
1413
#![feature(int_roundings)]

0 commit comments

Comments
 (0)