core: fix or silence clippy warnings
[nihav.git] / nihav-core / src / io / codebook.rs
index d835ce31501af39b963a0e6985a09299ca0da690..384a743e06191689042923ce1b03032f6ccbe72b 100644 (file)
@@ -113,6 +113,7 @@ pub struct ShortCodebookDesc {
 ///
 /// [`ShortCodebookDescReader`]: ./struct.ShortCodebookDescReader.html
 /// [`TableCodebookDescReader`]: ./struct.TableCodebookDescReader.html
+#[allow(clippy::len_without_is_empty)]
 pub trait CodebookDescReader<S> {
     /// Returns the codeword length for the provided index.
     fn bits(&mut self, idx: usize) -> u8;