Function write_file

Source
pub fn write_file(path: &str, text: &str) -> Result<()>