Function slurp::iterate_all_lines [] [src]

pub fn iterate_all_lines<P: AsRef<Path>>(filename: P) -> Lines

Returns an iterator over the lines in the file at the given filename.

Note that this iterator lazily opens the file - it won't touch the filesystem until you start iterating.