Function easy_shortcuts::open [] [src]

pub fn open<P: AsRef<Path>>(file: P) -> File

open a file for reading, quitting if there's any error.