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
commit eaed36092c

View file

@ -924,9 +924,11 @@ AST:
.. code-block:: nim .. code-block:: nim
nnkLetSection( nnkLetSection(
nnkIdentDefs(!"v"), nnkIdentDefs(
nnkEmpty(), # for the type nnkIdent(!"a"),
nnkIntLit(3) nnkEmpty(), # or nnkIdent(...) for the type
nnkIntLit(3),
)
) )
Const section Const section