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

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

View file

@ -355,7 +355,7 @@ proc `or`*[T, Y](fut1: Future[T], fut2: Future[Y]): Future[void] =
fut2.callback = cb fut2.callback = cb
return retFuture 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`` ## Returns a future which will complete once all futures in ``futs``
## complete. ## complete.
## ##