Skip to content

Commit 12f4624

Browse files
author
CDirkx
committed
Update since to correct release
`const_ordering` will stabilize in version 1.48.0
1 parent 89fc3fb commit 12f4624

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/cmp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ impl Ordering {
356356
/// ```
357357
#[inline]
358358
#[must_use]
359-
#[rustc_const_stable(feature = "const_ordering", since = "1.47.0")]
359+
#[rustc_const_stable(feature = "const_ordering", since = "1.48.0")]
360360
#[stable(feature = "rust1", since = "1.0.0")]
361361
pub const fn reverse(self) -> Ordering {
362362
match self {
@@ -395,7 +395,7 @@ impl Ordering {
395395
/// ```
396396
#[inline]
397397
#[must_use]
398-
#[rustc_const_stable(feature = "const_ordering", since = "1.47.0")]
398+
#[rustc_const_stable(feature = "const_ordering", since = "1.48.0")]
399399
#[stable(feature = "ordering_chaining", since = "1.17.0")]
400400
pub const fn then(self, other: Ordering) -> Ordering {
401401
match self {

0 commit comments

Comments
 (0)