mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 17:24:29 +02:00
Merge pull request #3032 from GloverDonovan/fix/nim-comments
[nim/en] Fix the multiline Nim comment (#3031)
This commit is contained in:
@@ -15,15 +15,9 @@ Nim is efficient, expressive, and elegant.
|
|||||||
# Single-line comments start with a #
|
# Single-line comments start with a #
|
||||||
|
|
||||||
#[
|
#[
|
||||||
Multi-line comments begin with a #[
|
This is a multiline comment.
|
||||||
... and end with ]#
|
In Nim, multiline comments can be nested, beginning with #[
|
||||||
|
... and ending with ]#
|
||||||
They don't care about indentation
|
|
||||||
|
|
||||||
#[
|
|
||||||
and they can be nested
|
|
||||||
]#
|
|
||||||
|
|
||||||
]#
|
]#
|
||||||
|
|
||||||
discard """
|
discard """
|
||||||
|
Reference in New Issue
Block a user