Function slurp::read_all_lines [] [src]

pub fn read_all_lines<P: AsRef<Path>>(filename: P) -> Result<Vec<String>>

Reads the lines of the file at the given filename into a new collection of Strings.