Skip to content

Commit 7e22cb4

Browse files
committed
-> byte literal
1 parent 87ebdc5 commit 7e22cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/general/huffman_encoding.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ mod tests {
272272
// Create a minimal but VALID HuffmanDictionary.
273273
// This is required because decode() expects a dictionary, even though
274274
// the content of the dictionary doesn't matter when num_bits == 0.
275-
let freq = vec![('a' as u8, 1)];
275+
let freq = vec![(b'a' as u8, 1)];
276276
let dict = HuffmanDictionary::new(&freq).unwrap();
277277

278278
// Manually create the target state: an encoding with 0 bits.

0 commit comments

Comments
 (0)