mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 15:44:14 +00:00
[bugfix] Minor formatting fix in tut2 [ci skip] (#11501)
Monospace `untyped` like elsewhere in the tutorial.
(cherry picked from commit c656714623)
This commit is contained in:
@@ -605,7 +605,7 @@ performed before the expression is passed to the template.
|
||||
If the template has no explicit return type,
|
||||
``void`` is used for consistency with procs and methods.
|
||||
|
||||
To pass a block of statements to a template, use 'untyped' for the last parameter:
|
||||
To pass a block of statements to a template, use ``untyped`` for the last parameter:
|
||||
|
||||
.. code-block:: nim
|
||||
:test: "nim c $1"
|
||||
|
||||
Reference in New Issue
Block a user