Skip to content

Commit bb823d8

Browse files
committed
Fix warnings
1 parent 4914eab commit bb823d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)