Function convenience::read_file
[−]
[src]
pub fn read_file<P: AsRef<Path>>(path: P) -> Result<String, FileError>
Reads the file at path
and returns its contents.