write_file

Function write_file 

Source
pub fn write_file<P: AsRef<Path>>(path: P, contents: &str) -> Result<()>
Expand description

Write a string to a file.