mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
Fixed a minor typo (#8685)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user