summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-10-18 15:40:50 +0200
committerArne Döring <arne.doering@gmx.net>2018-10-18 15:42:14 +0200
commit016e0b1aac1a2287afc2dbd61920cd826ef18f74 (patch)
treed9483f510cdaa53c58804239efce0d9eb12778c2 /lib
parent358b5225df88a439e6654ef47ddfcbc1669fc6ed (diff)
downloadNim-016e0b1aac1a2287afc2dbd61920cd826ef18f74.tar.gz
fix typo
Diffstat (limited to 'lib')
-rw-r--r--lib/core/macros.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 6720a3f99..0ae3a811f 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -177,7 +177,7 @@ proc `[]=`*(n: NimNode, i: BackwardsIndex, child: NimNode) =
   n[n.len - i.int] = child
 
 template `or`*(x, y: NimNode): NimNode =
-  ## Evalutuate ``x`` and when it is not an empty node, return return
+  ## Evaluate ``x`` and when it is not an empty node, return
   ## it. Otherwise evaluate to ``y``. Can be used to chain several
   ## expressions that evaluates to the first expression that is not
   ## empty.