Skip to main content

next_boundary

Function next_boundary 

Source
pub fn next_boundary(text: &str, offset: usize) -> usize
Expand description

Next grapheme boundary; clamps to the end of the text.