pub fn iter_lines(input: &str) -> Vec<Line<'_>>Expand description
Split input into lines the way str::lines does, but keep offsets.
Terminators are \n or \r\n. A final line without a terminator is
included. "" yields no lines.
pub fn iter_lines(input: &str) -> Vec<Line<'_>>Split input into lines the way str::lines does, but keep offsets.
Terminators are \n or \r\n. A final line without a terminator is
included. "" yields no lines.