diff --git a/src/util.rs b/src/util.rs
index 4ffcc9ce544c04bfce48f9adcaa6164d17e353da..47f4b4563c069506fc7abf2c103ada64631a907d 100644
--- a/src/util.rs
+++ b/src/util.rs
@@ -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.