Skip to content

Commit

Permalink
Update since to correct release
Browse files Browse the repository at this point in the history
`const_ordering` will stabilize in version 1.48.0
  • Loading branch information
CDirkx committed Aug 30, 2020
1 parent 89fc3fb commit 12f4624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/cmp.rs
Expand Up @@ -356,7 +356,7 @@ impl Ordering {
/// ```
#[inline]
#[must_use]
#[rustc_const_stable(feature = "const_ordering", since = "1.47.0")]
#[rustc_const_stable(feature = "const_ordering", since = "1.48.0")]
#[stable(feature = "rust1", since = "1.0.0")]
pub const fn reverse(self) -> Ordering {
match self {
Expand Down Expand Up @@ -395,7 +395,7 @@ impl Ordering {
/// ```
#[inline]
#[must_use]
#[rustc_const_stable(feature = "const_ordering", since = "1.47.0")]
#[rustc_const_stable(feature = "const_ordering", since = "1.48.0")]
#[stable(feature = "ordering_chaining", since = "1.17.0")]
pub const fn then(self, other: Ordering) -> Ordering {
match self {
Expand Down

0 comments on commit 12f4624

Please sign in to comment.