fixes 'nim doc'

This commit is contained in:
Araq 2020-11-13 13:50:57 +01:00
commit 19d52033f8

View file

@ -1940,7 +1940,7 @@ proc activeDescriptors*(): int {.inline.} =
## event loop. This is a cheap operation that does not involve a system call. ## event loop. This is a cheap operation that does not involve a system call.
when defined(windows): when defined(windows):
result = getGlobalDispatcher().handles.len result = getGlobalDispatcher().handles.len
else: elif not defined(nimdoc):
result = getGlobalDispatcher().selector.count result = getGlobalDispatcher().selector.count
when defined(posix): when defined(posix):