Skip to main content

write_text

Function write_text 

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

Write contents to a file at path, creating it if missing and truncating it if it already exists.