Skip to content

Commit 618736b

Browse files
committed
refactor
1 parent 4dda27e commit 618736b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

git-index/src/file/write.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ impl File {
77
self.state.write_to(&mut hasher, options)?;
88

99
let hash = hasher.hash.digest();
10-
out.write_all(&hash)?;
11-
12-
Ok(())
10+
out.write_all(&hash)
1311
}
1412
}

0 commit comments

Comments
 (0)