summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2020-11-13 13:50:57 +0100
committerAraq <rumpf_a@web.de>2020-11-13 13:50:57 +0100
commit19d52033f885a686f39b3f1b52564246b0fade83 (patch)
tree32dbdb241cbb51c9c1089238a6ecfa87bdf596f3 /lib
parentcb19dc53ca49a237770271a3559772cc545e747f (diff)
downloadNim-19d52033f885a686f39b3f1b52564246b0fade83.tar.gz
fixes 'nim doc'
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/asyncdispatch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/asyncdispatch.nim b/lib/pure/asyncdispatch.nim
index 0afc60864..0bacf3bb5 100644
--- a/lib/pure/asyncdispatch.nim
+++ b/lib/pure/asyncdispatch.nim
@@ -1940,7 +1940,7 @@ proc activeDescriptors*(): int {.inline.} =
   ## event loop. This is a cheap operation that does not involve a system call.
   when defined(windows):
     result = getGlobalDispatcher().handles.len
-  else:
+  elif not defined(nimdoc):
     result = getGlobalDispatcher().selector.count
 
 when defined(posix):