summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/astspec.txt2
-rw-r--r--doc/manual_experimental.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt
index c49f7bcc2..b4b8b34b5 100644
--- a/doc/astspec.txt
+++ b/doc/astspec.txt
@@ -1135,7 +1135,7 @@ AST:
 .. code-block:: nim
   # ...
   nnkTypeClassTy( # note this isn't nnkConceptTy!
-    nnkArglist(
+    nnkArgList(
       # ... idents for x, y, z
     )
     # ...
diff --git a/doc/manual_experimental.rst b/doc/manual_experimental.rst
index cf2e0c247..fc46a2a14 100644
--- a/doc/manual_experimental.rst
+++ b/doc/manual_experimental.rst
@@ -1283,7 +1283,7 @@ all the arguments, but also the matched operators in reverse polish notation:
   echo x + y * z - x
 
 This passes the expression `x + y * z - x` to the `optM` macro as
-an `nnkArglist` node containing::
+an `nnkArgList` node containing::
 
   Arglist
     Sym "x"