We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93973ac commit 1ccce6eCopy full SHA for 1ccce6e
src/gz/bufread.rs
@@ -82,12 +82,12 @@ impl<R: BufRead> GzEncoder<R> {
82
return Ok(0);
83
}
84
let crc = self.inner.get_ref().crc();
85
- let calced_crc = crc.sum().to_le_bytes();
+ let calced_crc_bytes = crc.sum().to_le_bytes();
86
let arr = [
87
- calced_crc[0],
88
- calced_crc[1],
89
- calced_crc[2],
90
- calced_crc[3],
+ calced_crc_bytes[0],
+ calced_crc_bytes[1],
+ calced_crc_bytes[2],
+ calced_crc_bytes[3],
91
(crc.amount() >> 0) as u8,
92
(crc.amount() >> 8) as u8,
93
(crc.amount() >> 16) as u8,
0 commit comments