Function slurp::read_all_to_string
[−]
[src]
pub fn read_all_to_string<P: AsRef<Path>>(filename: P) -> Result<String>
Reads the file at the given filename into a new String.