Skip to main content

whole_lines

Function whole_lines 

Source
fn whole_lines(text: &str) -> impl Iterator<Item = (usize, &str)>
Expand description

The manifest’s finished lines, numbered from one. A trailing line with no newline is left out, exactly as a load drops it: it is a row a crash caught half-written.