History

thanks clippy

Sebastian Thiel committed 5 years ago

Commit 96ef0b01 parent 116bdc41 file · +2 −3Browse files

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

Unified · Split

git-pack/src/data/input/bytes.rs+2−3
@@ -74,12 +74,11 @@ where · 73 unmodified lines
74 }74 }
75 entry75 entry
76 .header76 .header
77 .write_to(entry.decompressed_size as u64, &mut self.output)? as u64;77 .write_to(entry.decompressed_size as u64, &mut self.output)?;
78 std::io::copy(78 std::io::copy(
79 &mut &*entry79 &mut &*entry
80 .compressed80 .compressed
81 .as_ref()81 .as_deref()
82 .map(|v| v.as_slice())
83 .expect("caller must configure generator to keep compressed bytes"),82 .expect("caller must configure generator to keep compressed bytes"),
84 &mut self.output,83 &mut self.output,
85 )?;84 )?;