Stdlib: asyncdispatch: all proc: Replace req with openarray.

This commit is contained in:
Konstantin Molchanov
2016-05-31 14:51:24 +04:00
parent bea2af7ba2
commit fb9fa5f6a3

View File

@@ -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.
##