This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Private Function
testHash
Private Function
std.hash.auto_hash.testHash
fntestHash(key: anytype) u64
Params
key
File
hash/auto_hash.zig:198
198199200201202203
fntestHash(key: anytype) u64 {
// Any hash could be used here, for testing autoHash.varhasher = Wyhash.init(0);
hash(&hasher, key, .Shallow);
returnhasher.final();
}