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

This commit is contained in:
Andrew Kelley 2024-11-24 15:30:52 -08:00
parent ae6c24b490
commit ca67f80b6e

View File

@ -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;