Skip to content

Commit 87ebdc5

Browse files
committed
->byte literal
1 parent 9f0df7e commit 87ebdc5

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
@@ -288,7 +288,7 @@ mod tests {
288288

289289
#[test]
290290
fn minimal_decode_end_check() {
291-
let freq = vec![('a' as u8, 1), ('b' as u8, 1)];
291+
let freq = vec![(b'a' as u8, 1), (b'b' as u8, 1)];
292292
let bytes = b"ab";
293293

294294
let dict = HuffmanDictionary::new(&freq).unwrap();

0 commit comments

Comments
 (0)