| author | |
| committer | |
| log | 224e39316f16c5cef4856d67ce9bc947b2f1f408 |
| tree | 902810d7b8094d71f1e3224b4b3e4b9026fb16bc |
| parent | cc1475c91da6005d72192b426e8b9ec6db7a3f74 |
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]); |