summary refs log tree commit diff stats
path: root/doc/tut2.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tut2.rst')
-rw-r--r--doc/tut2.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut2.rst b/doc/tut2.rst
index 321571281..0bb4c94e1 100644
--- a/doc/tut2.rst
+++ b/doc/tut2.rst
@@ -723,7 +723,7 @@ regular expressions:
 
 .. code-block:: nim
 
-  macro case_token(n: typed): typed =
+  macro case_token(n: varargs[untyped]): typed =
     # creates a lexical analyzer from regular expressions
     # ... (implementation is an exercise for the reader :-)
     discard