File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1701,7 +1701,7 @@ pub trait Iterator {
1701
1701
/// assert_eq!(*a.iter().max_by(|x, y| x.cmp(y)).unwrap(), 5);
1702
1702
/// ```
1703
1703
#[ inline]
1704
- #[ unstable ( feature = "iter_max_by" , issue= "36105 ") ]
1704
+ #[ stable ( feature = "iter_max_by" , since = "1.15.0 ") ]
1705
1705
fn max_by < F > ( self , mut compare : F ) -> Option < Self :: Item >
1706
1706
where Self : Sized , F : FnMut ( & Self :: Item , & Self :: Item ) -> Ordering ,
1707
1707
{
@@ -1751,7 +1751,7 @@ pub trait Iterator {
1751
1751
/// assert_eq!(*a.iter().min_by(|x, y| x.cmp(y)).unwrap(), -10);
1752
1752
/// ```
1753
1753
#[ inline]
1754
- #[ unstable ( feature = "iter_min_by" , issue= "36105 ") ]
1754
+ #[ stable ( feature = "iter_min_by" , since = "1.15.0 ") ]
1755
1755
fn min_by < F > ( self , mut compare : F ) -> Option < Self :: Item >
1756
1756
where Self : Sized , F : FnMut ( & Self :: Item , & Self :: Item ) -> Ordering ,
1757
1757
{
You can’t perform that action at this time.
0 commit comments