Skip to main content

floor_char_boundary

Function floor_char_boundary 

Source
fn floor_char_boundary(s: &str, pos: usize) -> usize
Expand description

Largest byte index <= pos that is a char boundary.