mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 17:34:43 +00:00
Merge pull request #3573 from yglukhov/doc-fix
Fixed documentation of nnkLet AST
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user