diff options
author | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-11-23 13:02:32 +0200 |
---|---|---|
committer | Yuriy Glukhov <yuriy.glukhov@gmail.com> | 2015-11-23 13:02:32 +0200 |
commit | 3c70a2e914ea321892d397129805d6b0e200bda6 (patch) | |
tree | 408a59e466cc89a03e1886e6e2063084e68f9f5c /doc | |
parent | ba6d0eb4db5bb85c772dea3d4c5afb2bfbb5a6d5 (diff) | |
download | Nim-3c70a2e914ea321892d397129805d6b0e200bda6.tar.gz |
doc fix
Diffstat (limited to 'doc')
-rw-r--r-- | doc/astspec.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/astspec.txt b/doc/astspec.txt index c84fad8e8..f235e2984 100644 --- a/doc/astspec.txt +++ b/doc/astspec.txt @@ -924,9 +924,11 @@ AST: .. code-block:: nim nnkLetSection( - nnkIdentDefs(!"v"), - nnkEmpty(), # for the type - nnkIntLit(3) + nnkIdentDefs( + nnkIdent(!"a"), + nnkEmpty(), # or nnkIdent(...) for the type + nnkIntLit(3), + ) ) Const section |