diff options
author | Akito13 <akito.kitsune@protonmail.com> | 2019-07-04 15:59:29 +0200 |
---|---|---|
committer | Miran <narimiran@disroot.org> | 2019-07-04 15:59:29 +0200 |
commit | 0a501932c234d6150e3952f5e62b265ce34a0312 (patch) | |
tree | 5f0c5fe78b2c5321c94c06c4e8987e92b70bc286 /lib | |
parent | dad3c40f5593b7b2ef3baebc49dff38cf1b82b55 (diff) | |
download | Nim-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.nim | 2 |
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 |