Skip to main content

next_char_boundary

Function next_char_boundary 

pub fn next_char_boundary(text: &str, byte_idx: usize) -> usize
Expand description

Step one user-perceived character to the right of byte_idx. See prev_char_boundary for the compatibility note.