@@ -96,7 +96,7 @@ pub trait UnicodeSegmentation {
96
96
///
97
97
/// assert_eq!(&gr2[..], b);
98
98
/// ```
99
- fn graphemes < ' a > ( & ' a self , is_extended : bool ) -> Graphemes < ' a > ;
99
+ fn graphemes ( & self , is_extended : bool ) -> Graphemes < ' _ > ;
100
100
101
101
/// Returns an iterator over the grapheme clusters of `self` and their
102
102
/// byte offsets. See `graphemes()` for more information.
@@ -111,7 +111,7 @@ pub trait UnicodeSegmentation {
111
111
///
112
112
/// assert_eq!(&gr_inds[..], b);
113
113
/// ```
114
- fn grapheme_indices < ' a > ( & ' a self , is_extended : bool ) -> GraphemeIndices < ' a > ;
114
+ fn grapheme_indices ( & self , is_extended : bool ) -> GraphemeIndices < ' _ > ;
115
115
116
116
/// Returns an iterator over the words of `self`, separated on
117
117
/// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries).
@@ -133,7 +133,7 @@ pub trait UnicodeSegmentation {
133
133
///
134
134
/// assert_eq!(&uw1[..], b);
135
135
/// ```
136
- fn unicode_words < ' a > ( & ' a self ) -> UnicodeWords < ' a > ;
136
+ fn unicode_words ( & self ) -> UnicodeWords < ' _ > ;
137
137
138
138
/// Returns an iterator over the words of `self`, separated on
139
139
/// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries), and their
@@ -157,7 +157,7 @@ pub trait UnicodeSegmentation {
157
157
///
158
158
/// assert_eq!(&uwi1[..], b);
159
159
/// ```
160
- fn unicode_word_indices < ' a > ( & ' a self ) -> UnicodeWordIndices < ' a > ;
160
+ fn unicode_word_indices ( & self ) -> UnicodeWordIndices < ' _ > ;
161
161
162
162
/// Returns an iterator over substrings of `self` separated on
163
163
/// [UAX#29 word boundaries](http://www.unicode.org/reports/tr29/#Word_Boundaries).
@@ -173,7 +173,7 @@ pub trait UnicodeSegmentation {
173
173
///
174
174
/// assert_eq!(&swu1[..], b);
175
175
/// ```
176
- fn split_word_bounds < ' a > ( & ' a self ) -> UWordBounds < ' a > ;
176
+ fn split_word_bounds ( & self ) -> UWordBounds < ' _ > ;
177
177
178
178
/// Returns an iterator over substrings of `self`, split on UAX#29 word boundaries,
179
179
/// and their offsets. See `split_word_bounds()` for more information.
@@ -188,7 +188,7 @@ pub trait UnicodeSegmentation {
188
188
///
189
189
/// assert_eq!(&swi1[..], b);
190
190
/// ```
191
- fn split_word_bound_indices < ' a > ( & ' a self ) -> UWordBoundIndices < ' a > ;
191
+ fn split_word_bound_indices ( & self ) -> UWordBoundIndices < ' _ > ;
192
192
193
193
/// Returns an iterator over substrings of `self` separated on
194
194
/// [UAX#29 sentence boundaries](http://www.unicode.org/reports/tr29/#Sentence_Boundaries).
@@ -210,7 +210,7 @@ pub trait UnicodeSegmentation {
210
210
///
211
211
/// assert_eq!(&us1[..], b);
212
212
/// ```
213
- fn unicode_sentences < ' a > ( & ' a self ) -> UnicodeSentences < ' a > ;
213
+ fn unicode_sentences ( & self ) -> UnicodeSentences < ' _ > ;
214
214
215
215
/// Returns an iterator over substrings of `self` separated on
216
216
/// [UAX#29 sentence boundaries](http://www.unicode.org/reports/tr29/#Sentence_Boundaries).
@@ -227,7 +227,7 @@ pub trait UnicodeSegmentation {
227
227
///
228
228
/// assert_eq!(&ssb1[..], b);
229
229
/// ```
230
- fn split_sentence_bounds < ' a > ( & ' a self ) -> USentenceBounds < ' a > ;
230
+ fn split_sentence_bounds ( & self ) -> USentenceBounds < ' _ > ;
231
231
232
232
/// Returns an iterator over substrings of `self`, split on UAX#29 sentence boundaries,
233
233
/// and their offsets. See `split_sentence_bounds()` for more information.
@@ -243,7 +243,7 @@ pub trait UnicodeSegmentation {
243
243
///
244
244
/// assert_eq!(&ssi1[..], b);
245
245
/// ```
246
- fn split_sentence_bound_indices < ' a > ( & ' a self ) -> USentenceBoundIndices < ' a > ;
246
+ fn split_sentence_bound_indices ( & self ) -> USentenceBoundIndices < ' _ > ;
247
247
}
248
248
249
249
impl UnicodeSegmentation for str {
0 commit comments