Function fs_err::read_to_string
source · pub fn read_to_string<P: AsRef<Path>>(path: P) -> Result<String>
Expand description
Read the entire contents of a file into a string.
Wrapper for fs::read_to_string
.
pub fn read_to_string<P: AsRef<Path>>(path: P) -> Result<String>
Read the entire contents of a file into a string.
Wrapper for fs::read_to_string
.