diff options
author | Konstantin Molchanov <kmolchanov@machinezone.com> | 2016-05-31 14:51:24 +0400 |
---|---|---|
committer | Konstantin Molchanov <kmolchanov@machinezone.com> | 2016-05-31 14:51:24 +0400 |
commit | fb9fa5f6a385d1861885b0481573e7dc97191d9f (patch) | |
tree | 4b867c49bcda12dd491722d22d884b7801228227 /lib | |
parent | bea2af7ba2eed9b7c67c5db6586458493c94492b (diff) | |
download | Nim-fb9fa5f6a385d1861885b0481573e7dc97191d9f.tar.gz |
Stdlib: asyncdispatch: `all` proc: Replace req with openarray.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/asyncdispatch.nim | 2 |
1 files changed, 1 insertions, 1 deletions
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. ## |