mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-23 00:50:57 -04:00
b8cb780230
The line `const hasher = &this.hasher` was making the local variable `hasher` a double-pointer when `Hasher` already is a pointer to a hasher, which the line `hasher.update` would not dereference. By removing the local `hasher` value we allow `Hashing` to accept pointer types as well. The contrasting `Hashed` function already follows this pattern.