| author | |
| committer | |
| log | 455ea58872d418e761c5422e72d45a67e7242c6b |
| tree | d17b0321c96316a0d694efa39d8c8f21b3b92cdf |
| parent | 925cc08b953d417ef6fd5ebb183f39172c8d2c15 |
| signature |
Closes #23895.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/hash/wyhash.zig+1-1| ... | ... | @@ -73,8 +73,8 @@ pub const Wyhash = struct { |
| 73 | 73 | newSelf.smallKey(input); |
| 74 | 74 | } else { |
| 75 | 75 | var offset: usize = 0; |
| 76 | var scratch: [16]u8 = undefined; | |
| 76 | 77 | if (self.buf_len < 16) { |
| 77 | var scratch: [16]u8 = undefined; | |
| 78 | 78 | const rem = 16 - self.buf_len; |
| 79 | 79 | @memcpy(scratch[0..rem], self.buf[self.buf.len - rem ..][0..rem]); |
| 80 | 80 | @memcpy(scratch[rem..][0..self.buf_len], self.buf[0..self.buf_len]); |