pub fn read_to_string<P: AsRef<Path>>(path: P) -> String
Expand description
A wrapper around std::fs::read_to_string
which includes the file path in the panic message.
pub fn read_to_string<P: AsRef<Path>>(path: P) -> String
A wrapper around std::fs::read_to_string
which includes the file path in the panic message.