update zig to compile on nightly

This commit is contained in:
Folkert 2021-08-23 21:41:13 +02:00
parent 784f9a097c
commit 9903e14cd3
4 changed files with 29 additions and 24 deletions

View file

@ -180,8 +180,8 @@ pub const Wyhash = struct {
}
pub fn final(self: *Wyhash) u64 {
const seed = self.state.seed;
const rem_len = @intCast(u5, self.buf_len);
// const seed = self.state.seed;
// const rem_len = @intCast(u5, self.buf_len);
const rem_key = self.buf[0..self.buf_len];
return self.state.final(rem_key);