File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ impl UnicodeSegmentation for str {
258258 }
259259
260260 #[ inline]
261- fn grapheme_indices ( & self , is_extended : bool ) -> GraphemeIndices {
261+ fn grapheme_indices ( & self , is_extended : bool ) -> GraphemeIndices < ' _ > {
262262 grapheme:: new_grapheme_indices ( self , is_extended)
263263 }
264264
@@ -293,7 +293,7 @@ impl UnicodeSegmentation for str {
293293 }
294294
295295 #[ inline]
296- fn split_sentence_bound_indices ( & self ) -> USentenceBoundIndices {
296+ fn split_sentence_bound_indices ( & self ) -> USentenceBoundIndices < ' _ > {
297297 sentence:: new_sentence_bound_indices ( self )
298298 }
299299}
Original file line number Diff line number Diff line change @@ -1028,7 +1028,7 @@ mod tests {
10281028 } ;
10291029 use std:: string:: String ;
10301030 use std:: vec:: Vec ;
1031- use std:: { format , vec} ;
1031+ use std:: { vec} ;
10321032
10331033 use proptest:: prelude:: * ;
10341034
You can’t perform that action at this time.
0 commit comments