pub fn read_to_string(path: &str) -> Result<String>
Expand description

Convenience function to load a local file path into a String.

Might be faster than manually using std::io::Read::read_to_string if we can preallocate the size of the String.