THash -> Hash correction
This commit is contained in:
parent
9a8de7f3a3
commit
c38956a850
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ proc hash*(x: char): Hash {.inline.} =
|
|||
## efficient hashing of characters
|
||||
result = ord(x)
|
||||
|
||||
proc hash*[T: Ordinal](x: T): THash {.inline.} =
|
||||
proc hash*[T: Ordinal](x: T): Hash {.inline.} =
|
||||
## efficient hashing of other ordinal types (e.g. enums)
|
||||
result = ord(x)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue