Function hash [src]
Prototype
pub fn hash(_: @This(), adapted_key: []const u8) u64
Parameters
_: @This()
adapted_key: []const u8
Source
pub fn hash(_: @This(), adapted_key: []const u8) u64 {
assert(mem.indexOfScalar(u8, adapted_key, 0) == null);
return hashString(adapted_key);
}