fix std.mem.copy rename

This commit is contained in:
Igor Anić 2024-01-04 22:06:05 +01:00
parent 24137e1045
commit 5d231649a9

View File

@ -303,7 +303,7 @@ pub fn DecompressorReader(comptime ReaderType: type) type {
if (self.stream.avail_in != 0) {
const done_pos = self.pos - self.stream.avail_in;
std.mem.copy(u8, self.tmp[0..], self.tmp[done_pos..]);
std.mem.copyForwards(u8, self.tmp[0..], self.tmp[done_pos..]);
self.pos = self.tmp[done_pos..].len;
}