Fix asyncdispatch docgen

This commit is contained in:
Dominik Picheta 2017-11-24 22:47:38 +00:00 • committed by Dominik Picheta
commit 94fe5bd118

View file

@ -281,7 +281,7 @@ when defined(windows) or defined(nimdoc):
if createIoCompletionPort(fd.Handle, p.ioPort, if createIoCompletionPort(fd.Handle, p.ioPort,
cast[CompletionKey](fd), 1) == 0: cast[CompletionKey](fd), 1) == 0:
raiseOSError(osLastError()) raiseOSError(osLastError())
p.handles.incl(fd) p.handles.incl(fd.AsyncFD)
return fd.AsyncFD return fd.AsyncFD
proc verifyPresence(fd: AsyncFD) = proc verifyPresence(fd: AsyncFD) =
@ -1638,4 +1638,4 @@ proc waitFor*[T](fut: Future[T]): T =
fut.read fut.read
{.deprecated: [setEvent: trigger].} {.deprecated: [setEvent: trigger].}