Function write_file

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