to_byte_range

Function to_byte_range 

Source
pub fn to_byte_range(s: &str, grapheme_offset: usize) -> Range<usize>