Update since
to correct release
`const_ordering` will stabilize in version 1.48.0
This commit is contained in:
parent
89fc3fb93b
commit
12f4624f71
1 changed files with 2 additions and 2 deletions
|
@ -356,7 +356,7 @@ impl Ordering {
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[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")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub const fn reverse(self) -> Ordering {
|
pub const fn reverse(self) -> Ordering {
|
||||||
match self {
|
match self {
|
||||||
|
@ -395,7 +395,7 @@ impl Ordering {
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[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")]
|
#[stable(feature = "ordering_chaining", since = "1.17.0")]
|
||||||
pub const fn then(self, other: Ordering) -> Ordering {
|
pub const fn then(self, other: Ordering) -> Ordering {
|
||||||
match self {
|
match self {
|
||||||
|
|
Loading…
Reference in a new issue