diff options
| author | CDirkx <christiaan@dirkx.com> | 2020-08-30 23:59:37 +0200 |
|---|---|---|
| committer | CDirkx <christiaan@dirkx.com> | 2020-08-30 23:59:37 +0200 |
| commit | 12f4624f71004692eae4e089276ce91db0d668d3 (patch) | |
| tree | 906fbe2db03cc20ee8b6b2a911d165d82440bf01 | |
| parent | 89fc3fb93b0befd5515917289564a297c49bba6e (diff) | |
| download | rust-12f4624f71004692eae4e089276ce91db0d668d3.tar.gz rust-12f4624f71004692eae4e089276ce91db0d668d3.zip | |
Update `since` to correct release
`const_ordering` will stabilize in version 1.48.0
| -rw-r--r-- | library/core/src/cmp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/cmp.rs b/library/core/src/cmp.rs index 1060fc04071..e11c2a08d0e 100644 --- a/library/core/src/cmp.rs +++ b/library/core/src/cmp.rs @@ -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 { @@ -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 { |
