summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAkito13 <akito.kitsune@protonmail.com>2019-07-04 15:59:29 +0200
committerMiran <narimiran@disroot.org>2019-07-04 15:59:29 +0200
commit0a501932c234d6150e3952f5e62b265ce34a0312 (patch)
tree5f0c5fe78b2c5321c94c06c4e8987e92b70bc286 /lib
parentdad3c40f5593b7b2ef3baebc49dff38cf1b82b55 (diff)
downloadNim-0a501932c234d6150e3952f5e62b265ce34a0312.tar.gz
Corrected example shown in documentation (#11654) [ci skip]
Used template within example was added to imports.
Diffstat (limited to 'lib')
-rw-r--r--lib/posix/posix.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index 1640f2902..4173206ca 100644
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -1040,7 +1040,7 @@ template onSignal*(signals: varargs[cint], body: untyped) =
   ## Example:
   ##
   ## .. code-block::
-  ##   from posix import SIGINT, SIGTERM
+  ##   from posix import SIGINT, SIGTERM, onSignal
   ##   onSignal(SIGINT, SIGTERM):
   ##     echo "bye from signal ", sig