File tree 2 files changed +2
-7
lines changed
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> {
453
453
/// # Examples
454
454
///
455
455
/// ```
456
- /// #![feature(ord_max_min)]
457
- ///
458
456
/// assert_eq!(2, 1.max(2));
459
457
/// assert_eq!(2, 2.max(2));
460
458
/// ```
461
- #[ unstable ( feature = "ord_max_min" , issue = "25663 " ) ]
459
+ #[ stable ( feature = "ord_max_min" , since = "1.22.0 " ) ]
462
460
fn max ( self , other : Self ) -> Self
463
461
where Self : Sized {
464
462
if other >= self { other } else { self }
@@ -471,12 +469,10 @@ pub trait Ord: Eq + PartialOrd<Self> {
471
469
/// # Examples
472
470
///
473
471
/// ```
474
- /// #![feature(ord_max_min)]
475
- ///
476
472
/// assert_eq!(1, 1.min(2));
477
473
/// assert_eq!(2, 2.min(2));
478
474
/// ```
479
- #[ unstable ( feature = "ord_max_min" , issue = "25663 " ) ]
475
+ #[ stable ( feature = "ord_max_min" , since = "1.22.0 " ) ]
480
476
fn min ( self , other : Self ) -> Self
481
477
where Self : Sized {
482
478
if self <= other { self } else { other }
Original file line number Diff line number Diff line change 27
27
#![ feature( inclusive_range_syntax) ]
28
28
#![ feature( iter_rfind) ]
29
29
#![ feature( nonzero) ]
30
- #![ feature( ord_max_min) ]
31
30
#![ feature( rand) ]
32
31
#![ feature( raw) ]
33
32
#![ feature( refcell_replace_swap) ]
You can’t perform that action at this time.
0 commit comments