Skip to content

Commit

Permalink
zig fmt zip.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
marler8997 committed Apr 22, 2024
1 parent f85722d commit 4a28255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zip.zig
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ pub fn decompress(
while (true) {
const len = try reader.read(&buf);
if (len == 0) break;
try writer.writeAll(buf[0 ..len]);
hash.update(buf[0 ..len]);
try writer.writeAll(buf[0..len]);
hash.update(buf[0..len]);
}
},
.deflate, .deflate64 => {
Expand Down

0 comments on commit 4a28255

Please sign in to comment.