fix docs typo (#16637)

* fix typo

* fix typo

* Update doc/astspec.txt
This commit is contained in:
flywind 2021-01-12 00:08:24 -06:00 • committed by GitHub
commit f0cfc95372
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -414,7 +414,7 @@ AST:
Example code:
.. code-block:: nim
macro genRepeatEcho(): stmt =
macro genRepeatEcho() =
result = newNimNode(nnkStmtList)
var forStmt = newNimNode(nnkForStmt) # generate a for statement