File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -453,12 +453,10 @@ pub trait Ord: Eq + PartialOrd<Self> {
453453 /// # Examples
454454 ///
455455 /// ```
456- /// #![feature(ord_max_min)]
457- ///
458456 /// assert_eq!(2, 1.max(2));
459457 /// assert_eq!(2, 2.max(2));
460458 /// ```
461- #[ unstable ( feature = "ord_max_min" , issue = "25663 " ) ]
459+ #[ stable ( feature = "ord_max_min" , since = "1.22.0 " ) ]
462460 fn max ( self , other : Self ) -> Self
463461 where Self : Sized {
464462 if other >= self { other } else { self }
@@ -471,12 +469,10 @@ pub trait Ord: Eq + PartialOrd<Self> {
471469 /// # Examples
472470 ///
473471 /// ```
474- /// #![feature(ord_max_min)]
475- ///
476472 /// assert_eq!(1, 1.min(2));
477473 /// assert_eq!(2, 2.min(2));
478474 /// ```
479- #[ unstable ( feature = "ord_max_min" , issue = "25663 " ) ]
475+ #[ stable ( feature = "ord_max_min" , since = "1.22.0 " ) ]
480476 fn min ( self , other : Self ) -> Self
481477 where Self : Sized {
482478 if self <= other { self } else { other }
Original file line number Diff line number Diff line change 2626#![ feature( inclusive_range_syntax) ]
2727#![ feature( iter_rfind) ]
2828#![ feature( nonzero) ]
29- #![ feature( ord_max_min) ]
3029#![ feature( rand) ]
3130#![ feature( raw) ]
3231#![ feature( refcell_replace_swap) ]
You can’t perform that action at this time.
0 commit comments