From cc887bf66e3df40babd29e89e45c71e2e3cca079 Mon Sep 17 00:00:00 2001 From: Billingsly Wetherfordshire Date: Sat, 4 May 2013 19:26:02 -0500 Subject: Change varargs[T] to openarray[T] --- lib/pure/hashes.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/pure/hashes.nim b/lib/pure/hashes.nim index 92f273b15..8a3135f89 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: varargs[A]): THash = +proc hash*[A](x: openarray[A]): THash = for it in items(x): result = result !& hash(it) result = !$result -- cgit 1.4.1-2-gfad0