[doc/tut1] removed discard discussion in comments (#12352)
This commit is contained in:
parent
e9fa4c9b9c
commit
89c37fada7
1 changed files with 0 additions and 9 deletions
|
|
@ -142,15 +142,6 @@ comments can also be nested.
|
||||||
]#
|
]#
|
||||||
]#
|
]#
|
||||||
|
|
||||||
You can also use the `discard statement <#procedures-discard-statement>`_ together with *long string
|
|
||||||
literals* to create block comments:
|
|
||||||
|
|
||||||
.. code-block:: nim
|
|
||||||
:test: "nim c $1"
|
|
||||||
discard """ You can have any Nim code text commented
|
|
||||||
out inside this with no indentation restrictions.
|
|
||||||
yes("May I ask a pointless question?") """
|
|
||||||
|
|
||||||
|
|
||||||
Numbers
|
Numbers
|
||||||
-------
|
-------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue