File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -356,9 +356,8 @@ impl Ordering {
356356 /// ```
357357 #[ inline]
358358 #[ must_use]
359- #[ rustc_const_stable( feature = "const_ordering" , since = "1.48.0" ) ]
360359 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
361- pub const fn reverse ( self ) -> Ordering {
360+ pub fn reverse ( self ) -> Ordering {
362361 match self {
363362 Less => Greater ,
364363 Equal => Equal ,
@@ -395,9 +394,8 @@ impl Ordering {
395394 /// ```
396395 #[ inline]
397396 #[ must_use]
398- #[ rustc_const_stable( feature = "const_ordering" , since = "1.48.0" ) ]
399397 #[ 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 {
401399 match self {
402400 Equal => other,
403401 _ => self ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments