parent
79ded694d7
commit
0a4858dc59
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ proc hashIgnoreCase*(sBuf: string, sPos, ePos: int): Hash =
|
|||
h = h !& ord(c)
|
||||
result = !$h
|
||||
|
||||
proc hash*[T: tuple | object | proc](x: T): Hash {.inline.} =
|
||||
proc hash*[T: tuple | object | proc](x: T): Hash =
|
||||
## Efficient `hash` overload.
|
||||
runnableExamples:
|
||||
# for `tuple|object`, `hash` must be defined for each component of `x`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue