Skip to content
Snippets Groups Projects
Verified Commit f52819eb authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: write of data

parent 10c29662
No related branches found
No related tags found
No related merge requests found
Pipeline #3053 failed
......@@ -23,7 +23,7 @@ pub fn write_file(path: &str, data: &Vec<u8>) {
Ok(file) => file,
Err(_) => panic!("Failed to open file: {}", path),
};
file.write_all(&data).unwrap()
file.write_all(data).unwrap()
}
/// Replaces the extension in the given path with the provided extension.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment