Skip to content

Commit bb96f02

Browse files
authored
Fix wait(future) declaration signature. (#537)
1 parent 0f0ed1d commit bb96f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chronos/internal/asyncfutures.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1866,7 +1866,7 @@ proc wait*(fut: InternalRaisesFuture, timeout = InfiniteDuration): auto =
18661866
18671867
waitImpl(fut, retFuture, timeout)
18681868
1869-
proc wait*(fut: InternalRaisesFuture, deadline: InternalRaisesFuture): auto =
1869+
proc wait*(fut: InternalRaisesFuture, deadline: SomeFuture): auto =
18701870
type
18711871
T = type(fut).T
18721872
E = type(fut).E

0 commit comments

Comments
 (0)