Searched refs:to_str_unchecked (Results 1 – 4 of 4) sorted by relevance
196 let grapheme = unsafe { bs[..end].to_str_unchecked() }; in decode_grapheme()212 let grapheme = unsafe { bs[start..].to_str_unchecked() }; in decode_last_grapheme()
149 let sentence = unsafe { bs[..end].to_str_unchecked() }; in decode_sentence()
309 let word = unsafe { bs[..end].to_str_unchecked() }; in decode_word()
282 unsafe fn to_str_unchecked(&self) -> &str { in to_str_unchecked() method