Skip to content

Commit 2c42166

Browse files
committed
Satisfy clippy
1 parent f5facfb commit 2c42166

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/huffman.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1+
//! Rudimentary utility for reading Canonical Huffman Codes.
2+
//! Based off https://github.com/webmproject/libwebp/blob/7f8472a610b61ec780ef0a8873cd954ac512a505/src/utils/huffman.c
3+
14
use std::io::BufRead;
25

36
use crate::decoder::DecodingError;
47

58
use super::lossless::BitReader;
69

7-
/// Rudimentary utility for reading Canonical Huffman Codes.
8-
/// Based off https://github.com/webmproject/libwebp/blob/7f8472a610b61ec780ef0a8873cd954ac512a505/src/utils/huffman.c
9-
///
10-
1110
const MAX_ALLOWED_CODE_LENGTH: usize = 15;
1211
const MAX_TABLE_BITS: u8 = 10;
1312

0 commit comments

Comments
 (0)