Function easy_shortcuts::read_to_string [] [src]

pub fn read_to_string<P: AsRef<Path>>(file: P) -> String

read the contents of a file as a string, quitting otherwise