Function lines_from_file

Source
fn lines_from_file(filename: impl AsRef<Path> + Debug) -> Result<Vec<String>>
Expand description

Open a text file and return its lines as a Vec of String… well, wrapped in some Rust-y Result thing