From fb9fa5f6a385d1861885b0481573e7dc97191d9f Mon Sep 17 00:00:00 2001
From: Konstantin Molchanov <kmolchanov@machinezone.com>
Date: Tue, 31 May 2016 14:51:24 +0400
Subject: Stdlib: asyncdispatch: `all` proc: Replace req with openarray.

---
 lib/pure/asyncdispatch.nim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib')

diff --git a/lib/pure/asyncdispatch.nim b/lib/pure/asyncdispatch.nim
index 69a290f59..de86cd5ef 100644
--- a/lib/pure/asyncdispatch.nim
+++ b/lib/pure/asyncdispatch.nim
@@ -355,7 +355,7 @@ proc `or`*[T, Y](fut1: Future[T], fut2: Future[Y]): Future[void] =
   fut2.callback = cb
   return retFuture
 
-proc all*[A](futs: seq[Future[A]]): Future[seq[A]] =
+proc all*[A](futs: openarray[Future[A]]): Future[seq[A]] =
   ## Returns a future which will complete once all futures in ``futs``
   ## complete.
   ##
-- 
cgit 1.4.1-2-gfad0