From 0a501932c234d6150e3952f5e62b265ce34a0312 Mon Sep 17 00:00:00 2001 From: Akito13 Date: Thu, 4 Jul 2019 15:59:29 +0200 Subject: Corrected example shown in documentation (#11654) [ci skip] Used template within example was added to imports. --- lib/posix/posix.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit 1.4.1-2-gfad0