fix clippy warnings
[nihav.git] / nihav-core / src / io / bitwriter.rs
index 444756744ed143a72d07e8f4f1117aa81a98ed58..4f3c39c25d5e618dbc41c54a3a25f703044507e7 100644 (file)
@@ -77,6 +77,7 @@ impl BitWriter {
     }
     /// Writes `bits` bits of `val` value to the output.
     #[allow(clippy::collapsible_if)]
+    #[allow(clippy::collapsible_else_if)]
     pub fn write(&mut self, val: u32, bits: u8) {
         if bits == 0 {
             return;