summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authordef <dennis@felsin9.de>2015-02-18 01:55:50 +0100
committerdef <dennis@felsin9.de>2015-02-18 01:55:50 +0100
commit26474235021e82e64f41b299dc3acb81126909fa (patch)
treee1017f9f000caca57d4e00f5abae1492757f8d80 /lib/system.nim
parent5668ab3a49d5ebfce8952615ead75b0d98a28e2f (diff)
downloadNim-26474235021e82e64f41b299dc3acb81126909fa.tar.gz
Fix documentations for declared (instead of defined)
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index b86ab7080..accc2ef25 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -124,7 +124,7 @@ proc declared*(x: expr): bool {.magic: "Defined", noSideEffect.}
   ## feature or not:
   ##
   ## .. code-block:: Nim
-  ##   when not defined(strutils.toUpper):
+  ##   when not declared(strutils.toUpper):
   ##     # provide our own toUpper proc here, because strutils is
   ##     # missing it.