mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 23:54:19 +00:00
[doc/tut1] removed discard discussion in comments (#12352)
This commit is contained in:
committed by
Andreas Rumpf
parent
e9fa4c9b9c
commit
89c37fada7
@@ -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
|
||||
-------
|
||||
|
||||
Reference in New Issue
Block a user