diff options
Diffstat (limited to 'lib/pure/hashes.nim')
-rw-r--r-- | lib/pure/hashes.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim index fdf0fdb0d..61c16129b 100644 --- a/lib/pure/hashes.nim +++ b/lib/pure/hashes.nim @@ -115,8 +115,8 @@ proc hash*(x: char): Hash {.inline.} = ## efficient hashing of characters result = ord(x) -proc hash*[T: Ordinal](x: T): THash {.inline.} = - ## efficient hashing of other ordinal types (e.g. enums) +proc hash*[T: Ordinal](x: T): Hash {.inline.} = + ## efficient hashing of other ordinal types (e.g., enums) result = ord(x) proc hash*(x: string): Hash = |