History

thanks clippy

Sebastian Thiel committed 5 years ago

Commit 6200ed91 parent 217451320 files · +52 −50Browse files

Showing the changes to git-pack/src/data/input (1 of 20 files). Show all

Unified · Split

git-pack/src/data/input/iter.rs+1−1
@@ -138,7 +138,7 @@ where · 137 unmodified lines
138138
139139 let crc32 = if self.compressed.crc32() {
140140 let mut header_buf = [0u8; 32];
141− let header_len = entry.header.to_write(bytes_copied, header_buf.as_mut())?;
141+ let header_len = entry.header.write_to(bytes_copied, header_buf.as_mut())?;
142142 let state = git_features::hash::crc32_update(0, &header_buf[..header_len]);
143143 Some(git_features::hash::crc32_update(state, &compressed))
144144 } else {