Merge pull request #3573 from yglukhov/doc-fix

Fixed documentation of nnkLet AST
This commit is contained in:
Andreas Rumpf
2015-11-25 15:03:43 +01:00

View File

@@ -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