diff options
Diffstat (limited to 'doc/tut1.rst')
-rw-r--r-- | doc/tut1.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tut1.rst b/doc/tut1.rst index 67ef43948..e200cfe8b 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -571,8 +571,8 @@ With parenthesis and semicolons ``(;)`` you can use statements where only an expression is allowed: .. code-block:: nim - # computes fac(4) at compile time: :test: "nim c $1" + # computes fac(4) at compile time: const fac4 = (var x = 1; for i in 1..4: x *= i; x) |