Function mdbook::utils::fs::file_to_string [] [src]

pub fn file_to_string<P: AsRef<Path>>(path: P) -> Result<String>

Takes a path to a file and try to read the file into a String