Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vcfxb committed Jul 22, 2024
1 parent fa33a26 commit 788306c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/indexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,7 @@ impl io::Write for Indexer<'_> {

let res = raw::git_indexer_append(self.raw, ptr, len, &mut self.progress);
if res < 0 {
Err(io::Error::new(
io::ErrorKind::Other,
Error::last_error(res),
))
Err(io::Error::new(io::ErrorKind::Other, Error::last_error(res)))
} else {
Ok(buf.len())
}
Expand Down

0 comments on commit 788306c

Please sign in to comment.