Skip to main content

line_at

Function line_at 

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

The 1-based line byte offset offset of text is on.