diff options
author | apense <apense@users.noreply.github.com> | 2015-07-06 00:49:34 -0400 |
---|---|---|
committer | apense <apense@users.noreply.github.com> | 2015-07-06 00:49:34 -0400 |
commit | c38956a8505735d529cd7c24c1bf0b652f597095 (patch) | |
tree | 4f3575945dd63c498a5f35e13baec632defe048f /lib/pure | |
parent | 9a8de7f3a3982e110e51951fe7425789670e0775 (diff) | |
download | Nim-c38956a8505735d529cd7c24c1bf0b652f597095.tar.gz |
THash -> Hash correction
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/hashes.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim index fdf0fdb0d..a0e6e2622 100644 --- a/lib/pure/hashes.nim +++ b/lib/pure/hashes.nim @@ -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) |