Skip to main content

line_end

Function line_end 

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

End of the logical line holding offset — the byte before the next newline.