diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-06-16 12:08:29 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-06-16 12:08:29 +0200 |
commit | b36f412c24813b14cb2b1f8fd151863e2a49c1e2 (patch) | |
tree | 9764fca5cc1e2273e9b3bbbe29ef6e72a8a82fea /nihav-core/src/io/codebook.rs | |
parent | 36ce88be3f590a876fe539c8f631a58af2ea2cac (diff) | |
download | nihav-b36f412c24813b14cb2b1f8fd151863e2a49c1e2.tar.gz |
core: fix or silence clippy warnings
Diffstat (limited to 'nihav-core/src/io/codebook.rs')
-rw-r--r-- | nihav-core/src/io/codebook.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nihav-core/src/io/codebook.rs b/nihav-core/src/io/codebook.rs index d835ce3..384a743 100644 --- a/nihav-core/src/io/codebook.rs +++ b/nihav-core/src/io/codebook.rs @@ -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; |