Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Nov 29, 2024
1 parent 1b2d66d commit 5c204e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/decompress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl Decompressor {
self.consume_bits(3);

// Check for an entirely empty blocks which can happen if there are "partial
// flushes" in the deflate stream). With fixed huffman codes, the EOF symbol is
// flushes" in the deflate stream. With fixed huffman codes, the EOF symbol is
// 7-bits of zeros so we peak ahead and see if the next 7-bits are all zero.
if self.peak_bits(7) == 0 {
self.consume_bits(7);
Expand Down

0 comments on commit 5c204e1

Please sign in to comment.