authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-11-24 15:30:52-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-11-24 15:30:52-08:00
logca67f80b6e9599246441e0f3b016fabc5c3315aa
tree6b3d19d3c713f4d10894af354353d34bb6f2838e
parentae6c24b49053853686699913297764361a6d6303

std.hash.int: avoid words like "easy" and "fast" in doc comments


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/hash.zig+1-1
...@@ -37,7 +37,7 @@ pub const XxHash3 = xxhash.XxHash3;...@@ -37,7 +37,7 @@ pub const XxHash3 = xxhash.XxHash3;
37pub const XxHash64 = xxhash.XxHash64;37pub const XxHash64 = xxhash.XxHash64;
38pub const XxHash32 = xxhash.XxHash32;38pub const XxHash32 = xxhash.XxHash32;
3939
40/// Easy & fast hash function for integer types40/// Integer-to-integer hashing for bit widths <= 256.
41pub fn int(input: anytype) @TypeOf(input) {41pub fn int(input: anytype) @TypeOf(input) {
42 // This function is only intended for integer types42 // This function is only intended for integer types
43 const info = @typeInfo(@TypeOf(input)).int;43 const info = @typeInfo(@TypeOf(input)).int;