fix clippy warnings for update to rustc 1.46
[nihav.git] / nihav-commonfmt / src / codecs / ts102366.rs
index c4b18004169c0827f8a6c9828471d60d9ac378b6..de6a5adb391c0446d745280cfa29f30c4e7bbfa5 100644 (file)
@@ -831,7 +831,7 @@ impl AudioBlock {
             bap_buf_fill:   [0; 3],
         }
     }
-    #[allow(clippy::cyclomatic_complexity)]
+    #[allow(clippy::cognitive_complexity)]
     fn read(&mut self, br: &mut BitReader, bsi: &BSI, fscod: usize, blk_no: usize) -> DecoderResult<bool> {
         let channels = bsi.acmod.get_num_channels();
         let is_stereo = bsi.acmod == ACMode::Stereo;