X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fio%2Fbitwriter.rs;h=4f3c39c25d5e618dbc41c54a3a25f703044507e7;hp=444756744ed143a72d07e8f4f1117aa81a98ed58;hb=e6aaad5c5273cd814b5748b7faf3751835a37217;hpb=625751036014b099fd9c126397bc973cb0543130 diff --git a/nihav-core/src/io/bitwriter.rs b/nihav-core/src/io/bitwriter.rs index 4447567..4f3c39c 100644 --- a/nihav-core/src/io/bitwriter.rs +++ b/nihav-core/src/io/bitwriter.rs @@ -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;