Function cargo_util::paths::read
source · pub fn read(path: &Path) -> Result<String>
Expand description
Reads a file to a string.
Equivalent to std::fs::read_to_string
with better error messages.
pub fn read(path: &Path) -> Result<String>
Reads a file to a string.
Equivalent to std::fs::read_to_string
with better error messages.