diff options
Diffstat (limited to 'lib/core/macros.nim')
-rw-r--r-- | lib/core/macros.nim | 2 |
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. |