@@ -819,7 +819,7 @@ pub trait Iterator {
819819 Enumerate :: new ( self )
820820 }
821821
822- /// Creates an iterator which can use `peek` to look at the next element of
822+ /// Creates an iterator which can use [ `peek`] to look at the next element of
823823 /// the iterator without consuming it.
824824 ///
825825 /// Adds a [`peek`] method to an iterator. See its documentation for
@@ -2002,7 +2002,7 @@ pub trait Iterator {
20022002
20032003 /// The same as [`fold()`], but uses the first element in the
20042004 /// iterator as the initial value, folding every subsequent element into it.
2005- /// If the iterator is empty, return `None`; otherwise, return the result
2005+ /// If the iterator is empty, return [ `None`] ; otherwise, return the result
20062006 /// of the fold.
20072007 ///
20082008 /// [`fold()`]: Iterator::fold
@@ -2831,7 +2831,7 @@ pub trait Iterator {
28312831 Product :: product ( self )
28322832 }
28332833
2834- /// Lexicographically compares the elements of this `Iterator` with those
2834+ /// Lexicographically compares the elements of this [ `Iterator`] with those
28352835 /// of another.
28362836 ///
28372837 /// # Examples
@@ -2853,7 +2853,7 @@ pub trait Iterator {
28532853 self . cmp_by ( other, |x, y| x. cmp ( & y) )
28542854 }
28552855
2856- /// Lexicographically compares the elements of this `Iterator` with those
2856+ /// Lexicographically compares the elements of this [ `Iterator`] with those
28572857 /// of another with respect to the specified comparison function.
28582858 ///
28592859 /// # Examples
@@ -2905,7 +2905,7 @@ pub trait Iterator {
29052905 }
29062906 }
29072907
2908- /// Lexicographically compares the elements of this `Iterator` with those
2908+ /// Lexicographically compares the elements of this [ `Iterator`] with those
29092909 /// of another.
29102910 ///
29112911 /// # Examples
@@ -2929,7 +2929,7 @@ pub trait Iterator {
29292929 self . partial_cmp_by ( other, |x, y| x. partial_cmp ( & y) )
29302930 }
29312931
2932- /// Lexicographically compares the elements of this `Iterator` with those
2932+ /// Lexicographically compares the elements of this [ `Iterator`] with those
29332933 /// of another with respect to the specified comparison function.
29342934 ///
29352935 /// # Examples
@@ -2990,7 +2990,7 @@ pub trait Iterator {
29902990 }
29912991 }
29922992
2993- /// Determines if the elements of this `Iterator` are equal to those of
2993+ /// Determines if the elements of this [ `Iterator`] are equal to those of
29942994 /// another.
29952995 ///
29962996 /// # Examples
@@ -3009,7 +3009,7 @@ pub trait Iterator {
30093009 self . eq_by ( other, |x, y| x == y)
30103010 }
30113011
3012- /// Determines if the elements of this `Iterator` are equal to those of
3012+ /// Determines if the elements of this [ `Iterator`] are equal to those of
30133013 /// another with respect to the specified equality function.
30143014 ///
30153015 /// # Examples
@@ -3050,7 +3050,7 @@ pub trait Iterator {
30503050 }
30513051 }
30523052
3053- /// Determines if the elements of this `Iterator` are unequal to those of
3053+ /// Determines if the elements of this [ `Iterator`] are unequal to those of
30543054 /// another.
30553055 ///
30563056 /// # Examples
@@ -3069,7 +3069,7 @@ pub trait Iterator {
30693069 !self . eq ( other)
30703070 }
30713071
3072- /// Determines if the elements of this `Iterator` are lexicographically
3072+ /// Determines if the elements of this [ `Iterator`] are lexicographically
30733073 /// less than those of another.
30743074 ///
30753075 /// # Examples
@@ -3090,7 +3090,7 @@ pub trait Iterator {
30903090 self . partial_cmp ( other) == Some ( Ordering :: Less )
30913091 }
30923092
3093- /// Determines if the elements of this `Iterator` are lexicographically
3093+ /// Determines if the elements of this [ `Iterator`] are lexicographically
30943094 /// less or equal to those of another.
30953095 ///
30963096 /// # Examples
@@ -3111,7 +3111,7 @@ pub trait Iterator {
31113111 matches ! ( self . partial_cmp( other) , Some ( Ordering :: Less | Ordering :: Equal ) )
31123112 }
31133113
3114- /// Determines if the elements of this `Iterator` are lexicographically
3114+ /// Determines if the elements of this [ `Iterator`] are lexicographically
31153115 /// greater than those of another.
31163116 ///
31173117 /// # Examples
@@ -3132,7 +3132,7 @@ pub trait Iterator {
31323132 self . partial_cmp ( other) == Some ( Ordering :: Greater )
31333133 }
31343134
3135- /// Determines if the elements of this `Iterator` are lexicographically
3135+ /// Determines if the elements of this [ `Iterator`] are lexicographically
31363136 /// greater than or equal to those of another.
31373137 ///
31383138 /// # Examples
0 commit comments