| author | |
| committer | |
| log | ca67f80b6e9599246441e0f3b016fabc5c3315aa |
| tree | 6b3d19d3c713f4d10894af354353d34bb6f2838e |
| parent | ae6c24b49053853686699913297764361a6d6303 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/hash.zig+1-1| ... | ... | @@ -37,7 +37,7 @@ pub const XxHash3 = xxhash.XxHash3; |
| 37 | 37 | pub const XxHash64 = xxhash.XxHash64; |
| 38 | 38 | pub const XxHash32 = xxhash.XxHash32; |
| 39 | 39 | |
| 40 | /// Easy & fast hash function for integer types | |
| 40 | /// Integer-to-integer hashing for bit widths <= 256. | |
| 41 | 41 | pub fn int(input: anytype) @TypeOf(input) { |
| 42 | 42 | // This function is only intended for integer types |
| 43 | 43 | const info = @typeInfo(@TypeOf(input)).int; |