in src/main.rs [272:277]
fn backward_to_char_boundary(s: &str, mut index: usize) -> usize { while !s.is_char_boundary(index) { index -= 1; } index }