@@ -1612,7 +1612,7 @@ pub trait Iterator {
1612
1612
1613
1613
/// Returns the maximum element of an iterator.
1614
1614
///
1615
- /// If the two elements are equally maximum, the latest element is
1615
+ /// If several elements are equally maximum, the last element is
1616
1616
/// returned.
1617
1617
///
1618
1618
/// # Examples
@@ -1638,7 +1638,7 @@ pub trait Iterator {
1638
1638
1639
1639
/// Returns the minimum element of an iterator.
1640
1640
///
1641
- /// If the two elements are equally minimum, the first element is
1641
+ /// If several elements are equally minimum, the first element is
1642
1642
/// returned.
1643
1643
///
1644
1644
/// # Examples
@@ -1665,8 +1665,8 @@ pub trait Iterator {
1665
1665
/// Returns the element that gives the maximum value from the
1666
1666
/// specified function.
1667
1667
///
1668
- /// Returns the rightmost element if the comparison determines two elements
1669
- /// to be equally maximum .
1668
+ /// If several elements are equally maximum, the last element is
1669
+ /// returned .
1670
1670
///
1671
1671
/// # Examples
1672
1672
///
@@ -1690,8 +1690,8 @@ pub trait Iterator {
1690
1690
/// Returns the element that gives the maximum value with respect to the
1691
1691
/// specified comparison function.
1692
1692
///
1693
- /// Returns the rightmost element if the comparison determines two elements
1694
- /// to be equally maximum .
1693
+ /// If several elements are equally maximum, the last element is
1694
+ /// returned .
1695
1695
///
1696
1696
/// # Examples
1697
1697
///
@@ -1715,8 +1715,8 @@ pub trait Iterator {
1715
1715
/// Returns the element that gives the minimum value from the
1716
1716
/// specified function.
1717
1717
///
1718
- /// Returns the latest element if the comparison determines two elements
1719
- /// to be equally minimum .
1718
+ /// If several elements are equally minimum, the first element is
1719
+ /// returned .
1720
1720
///
1721
1721
/// # Examples
1722
1722
///
@@ -1739,8 +1739,8 @@ pub trait Iterator {
1739
1739
/// Returns the element that gives the minimum value with respect to the
1740
1740
/// specified comparison function.
1741
1741
///
1742
- /// Returns the latest element if the comparison determines two elements
1743
- /// to be equally minimum .
1742
+ /// If several elements are equally minimum, the first element is
1743
+ /// returned .
1744
1744
///
1745
1745
/// # Examples
1746
1746
///
0 commit comments