diff --git a/src/idk/mod.rs b/src/idk/mod.rs index a1dac08..3db930f 100644 --- a/src/idk/mod.rs +++ b/src/idk/mod.rs @@ -38,7 +38,7 @@ impl Chunk { } pub fn fix(mut bytes: Vec) -> Vec { - let mut bufread = Cursor::new(bytes.clone()); + let mut bufread = Cursor::new(bytes); // read the png header let mut header = [0; 8];