Skip to content

Commit 20a185e

Browse files
authored
Fix header.rs
Signed-off-by: Jiahao XU <[email protected]>
1 parent 5cd6766 commit 20a185e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/compression-codecs/src/gzip/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl Parser {
166166
self.state = State::Done;
167167
let checksum = self.crc.sum().to_le_bytes();
168168

169-
if *data == checksum[..2] {
169+
if data == checksum[..2] {
170170
Ok(Some(header))
171171
} else {
172172
Err(io::Error::new(

0 commit comments

Comments
 (0)