THash -> Hash correction

This commit is contained in:
apense
2015-07-06 00:49:34 -04:00
parent 9a8de7f3a3
commit c38956a850

View File

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