fix clippy warnings
[nihav.git] / nihav-duck / src / codecs / vp7enc / blocks.rs
index 227638264cdd8676389664abae7f907a4ea5dd28..7a18d48a316ef23c227fd1d40f8b4b3400cf8122 100644 (file)
@@ -270,7 +270,7 @@ impl SrcBlock {
     }
     pub fn apply_ipred_luma(&self, mode: PredMode, ipred: &IPredContext, dst: &mut Residue) {
         let mut tmp = [0; 256];
-        (&mut tmp).ipred16(16, mode, ipred);
+        tmp.ipred16(16, mode, ipred);
         dst.set_luma_from_diff(&self.luma, &tmp);
     }
     pub fn fill_ipred_luma(&mut self, mode: PredMode, ipred: &IPredContext) {