mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 00:52:52 +00:00
std.hash.int: avoid words like "easy" and "fast" in doc comments
This commit is contained in:
parent
ae6c24b490
commit
ca67f80b6e
@ -37,7 +37,7 @@ pub const XxHash3 = xxhash.XxHash3;
|
|||||||
pub const XxHash64 = xxhash.XxHash64;
|
pub const XxHash64 = xxhash.XxHash64;
|
||||||
pub const XxHash32 = xxhash.XxHash32;
|
pub const XxHash32 = xxhash.XxHash32;
|
||||||
|
|
||||||
/// Easy & fast hash function for integer types
|
/// Integer-to-integer hashing for bit widths <= 256.
|
||||||
pub fn int(input: anytype) @TypeOf(input) {
|
pub fn int(input: anytype) @TypeOf(input) {
|
||||||
// This function is only intended for integer types
|
// This function is only intended for integer types
|
||||||
const info = @typeInfo(@TypeOf(input)).int;
|
const info = @typeInfo(@TypeOf(input)).int;
|
||||||
|
Loading…
Reference in New Issue
Block a user