Function lines::linemapper::count_lines [] [src]

pub fn count_lines<R: BufRead>(r: R) -> Result<usize>

Counts the number of lines in the given reader by utilizing map_lines.