write_string

Function write_string 

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

Write string to file (helper for common case)