diff options
author | Araq <rumpf_a@web.de> | 2020-11-13 13:50:57 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2020-11-13 13:50:57 +0100 |
commit | 19d52033f885a686f39b3f1b52564246b0fade83 (patch) | |
tree | 32dbdb241cbb51c9c1089238a6ecfa87bdf596f3 | |
parent | cb19dc53ca49a237770271a3559772cc545e747f (diff) | |
download | Nim-19d52033f885a686f39b3f1b52564246b0fade83.tar.gz |
fixes 'nim doc'
-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 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): |