Function file_write
Source pub fn file_write(file_name: &str, content: &str) -> Result<(), Box<dyn Error>>
Expand description
Writes a string to a file.
§Arguments
file_name - The path to the file to write to.
content - The content to write to the file.
§Returns
A Result indicating success or an error if the file could not be written.