From 3c70a2e914ea321892d397129805d6b0e200bda6 Mon Sep 17 00:00:00 2001 From: Yuriy Glukhov Date: Mon, 23 Nov 2015 13:02:32 +0200 Subject: [PATCH] doc fix --- doc/astspec.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/astspec.txt b/doc/astspec.txt index c84fad8e8f..f235e29846 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