Changed issue number to 36105
This commit is contained in:
parent
dfeb20ce60
commit
5928be1d9b
@ -1678,7 +1678,7 @@ pub trait Iterator {
|
||||
/// assert_eq!(*a.iter().max_by(|x, y| x.cmp(y)).unwrap(), 5);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[unstable(feature = "iter_max_by", issue="1722")]
|
||||
#[unstable(feature = "iter_max_by", issue="36105")]
|
||||
fn max_by<F>(self, mut compare: F) -> Option<Self::Item>
|
||||
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,
|
||||
{
|
||||
@ -1728,7 +1728,7 @@ pub trait Iterator {
|
||||
/// assert_eq!(*a.iter().min_by(|x, y| x.cmp(y)).unwrap(), -10);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[unstable(feature = "iter_min_by", issue="1722")]
|
||||
#[unstable(feature = "iter_min_by", issue="36105")]
|
||||
fn min_by<F>(self, mut compare: F) -> Option<Self::Item>
|
||||
where Self: Sized, F: FnMut(&Self::Item, &Self::Item) -> Ordering,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user