History

thanks clippy

Sebastian Thiel committed 3 years ago

Commit bac57dd1 parent e22080e100 files · +172 −230Browse files

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

Unified · Split

git-pack/src/data/input/entries_to_bytes.rs+2−2
@@ -90,11 +90,11 @@ where · 89 unmodified lines
90 } else {90 } else {
91 header_bytes.len() as u6491 header_bytes.len() as u64
92 };92 };
93 self.output.seek(std::io::SeekFrom::Start(0))?;93 self.output.rewind()?;
94 self.output.write_all(&header_bytes[..])?;94 self.output.write_all(&header_bytes[..])?;
95 self.output.flush()?;95 self.output.flush()?;
96 96
97 self.output.seek(std::io::SeekFrom::Start(0))?;97 self.output.rewind()?;
98 let interrupt_never = std::sync::atomic::AtomicBool::new(false);98 let interrupt_never = std::sync::atomic::AtomicBool::new(false);
99 let digest = hash::bytes(99 let digest = hash::bytes(
100 &mut self.output,100 &mut self.output,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t