Function write_file

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

Writes string content to a file at the specified path

ยงArguments

  • path - Path where the file should be written
  • content - String content to write to the file