@@ -96,7 +96,7 @@ pub trait UnicodeSegmentation {
9696 ///
9797 /// assert_eq!(&gr2[..], b);
9898 /// ```
99- fn graphemes < ' a > ( & ' a self , is_extended : bool ) -> Graphemes < ' a > ;
99+ fn graphemes ( & self , is_extended : bool ) -> Graphemes < ' _ > ;
100100
101101 /// Returns an iterator over the grapheme clusters of `self` and their
102102 /// byte offsets. See `graphemes()` for more information.
@@ -111,7 +111,7 @@ pub trait UnicodeSegmentation {
111111 ///
112112 /// assert_eq!(&gr_inds[..], b);
113113 /// ```
114- fn grapheme_indices < ' a > ( & ' a self , is_extended : bool ) -> GraphemeIndices < ' a > ;
114+ fn grapheme_indices ( & self , is_extended : bool ) -> GraphemeIndices < ' _ > ;
115115
116116 /// Returns an iterator over the words of `self`, separated on
117117 /// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries).
@@ -133,7 +133,7 @@ pub trait UnicodeSegmentation {
133133 ///
134134 /// assert_eq!(&uw1[..], b);
135135 /// ```
136- fn unicode_words < ' a > ( & ' a self ) -> UnicodeWords < ' a > ;
136+ fn unicode_words ( & self ) -> UnicodeWords < ' _ > ;
137137
138138 /// Returns an iterator over the words of `self`, separated on
139139 /// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries), and their
@@ -157,7 +157,7 @@ pub trait UnicodeSegmentation {
157157 ///
158158 /// assert_eq!(&uwi1[..], b);
159159 /// ```
160- fn unicode_word_indices < ' a > ( & ' a self ) -> UnicodeWordIndices < ' a > ;
160+ fn unicode_word_indices ( & self ) -> UnicodeWordIndices < ' _ > ;
161161
162162 /// Returns an iterator over substrings of `self` separated on
163163 /// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries).
@@ -173,7 +173,7 @@ pub trait UnicodeSegmentation {
173173 ///
174174 /// assert_eq!(&swu1[..], b);
175175 /// ```
176- fn split_word_bounds < ' a > ( & ' a self ) -> UWordBounds < ' a > ;
176+ fn split_word_bounds ( & self ) -> UWordBounds < ' _ > ;
177177
178178 /// Returns an iterator over substrings of `self`, split on UAX#29 word boundaries,
179179 /// and their offsets. See `split_word_bounds()` for more information.
@@ -188,7 +188,7 @@ pub trait UnicodeSegmentation {
188188 ///
189189 /// assert_eq!(&swi1[..], b);
190190 /// ```
191- fn split_word_bound_indices < ' a > ( & ' a self ) -> UWordBoundIndices < ' a > ;
191+ fn split_word_bound_indices ( & self ) -> UWordBoundIndices < ' _ > ;
192192
193193 /// Returns an iterator over substrings of `self` separated on
194194 /// [UAX#29 sentence boundaries](http://www.unicode.org/reports/tr29/#Sentence_Boundaries).
@@ -210,7 +210,7 @@ pub trait UnicodeSegmentation {
210210 ///
211211 /// assert_eq!(&us1[..], b);
212212 /// ```
213- fn unicode_sentences < ' a > ( & ' a self ) -> UnicodeSentences < ' a > ;
213+ fn unicode_sentences ( & self ) -> UnicodeSentences < ' _ > ;
214214
215215 /// Returns an iterator over substrings of `self` separated on
216216 /// [UAX#29 sentence boundaries](http://www.unicode.org/reports/tr29/#Sentence_Boundaries).
@@ -227,7 +227,7 @@ pub trait UnicodeSegmentation {
227227 ///
228228 /// assert_eq!(&ssb1[..], b);
229229 /// ```
230- fn split_sentence_bounds < ' a > ( & ' a self ) -> USentenceBounds < ' a > ;
230+ fn split_sentence_bounds ( & self ) -> USentenceBounds < ' _ > ;
231231
232232 /// Returns an iterator over substrings of `self`, split on UAX#29 sentence boundaries,
233233 /// and their offsets. See `split_sentence_bounds()` for more information.
@@ -243,7 +243,7 @@ pub trait UnicodeSegmentation {
243243 ///
244244 /// assert_eq!(&ssi1[..], b);
245245 /// ```
246- fn split_sentence_bound_indices < ' a > ( & ' a self ) -> USentenceBoundIndices < ' a > ;
246+ fn split_sentence_bound_indices ( & self ) -> USentenceBoundIndices < ' _ > ;
247247}
248248
249249impl UnicodeSegmentation for str {
0 commit comments