Function parseit::reader::read_to_string

source ·
pub fn read_to_string<P: AsRef<Path>>(path: P) -> IoResult<String>
Expand description

Reads the contents of the file into a string.

Uses BufReader under the hood.