File tree 2 files changed +2
-19
lines changed
2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -356,9 +356,8 @@ impl Ordering {
356
356
/// ```
357
357
#[ inline]
358
358
#[ must_use]
359
- #[ rustc_const_stable( feature = "const_ordering" , since = "1.48.0" ) ]
360
359
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
361
- pub const fn reverse ( self ) -> Ordering {
360
+ pub fn reverse ( self ) -> Ordering {
362
361
match self {
363
362
Less => Greater ,
364
363
Equal => Equal ,
@@ -395,9 +394,8 @@ impl Ordering {
395
394
/// ```
396
395
#[ inline]
397
396
#[ must_use]
398
- #[ rustc_const_stable( feature = "const_ordering" , since = "1.48.0" ) ]
399
397
#[ stable( feature = "ordering_chaining" , since = "1.17.0" ) ]
400
- pub const fn then ( self , other : Ordering ) -> Ordering {
398
+ pub fn then ( self , other : Ordering ) -> Ordering {
401
399
match self {
402
400
Equal => other,
403
401
_ => self ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments