fix clippy errors
[nihav.git] / nihav-duck / src / codecs / truemotion2.rs
index 1abe444b1522472531b4bb181a2c09e3cdb4ac51..2e0ff5e745eaa9ba65cab21f4ba393343281b685 100644 (file)
@@ -223,6 +223,7 @@ struct DeltaState {
     dc: [[i32; 2]; 2],
 }
 
+#[allow(clippy::erasing_op)]
 impl DeltaState {
     fn apply_y(&mut self, dst: &mut [u8], mut yoff: usize, ystride: usize, ydeltas: &[i32; 16], last: &mut [i32]) {
         for y in 0..4 {