diff options
-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 0e9e3600d..92f273b15 100644 --- a/lib/pure/hashes.nim +++ b/lib/pure/hashes.nim @@ -126,6 +126,6 @@ proc hash*(x: float): THash {.inline.} = var y = x + 1.0 result = cast[ptr THash](addr(y))[] -proc hash*[A](x: seq[A]): THash = +proc hash*[A](x: varargs[A]): THash = for it in items(x): result = result !& hash(it) result = !$result |