mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 09:14:39 +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 #
|
||||
|
||||
#[
|
||||
Multi-line comments begin with a #[
|
||||
... and end with ]#
|
||||
|
||||
They don't care about indentation
|
||||
|
||||
#[
|
||||
and they can be nested
|
||||
]#
|
||||
|
||||
This is a multiline comment.
|
||||
In Nim, multiline comments can be nested, beginning with #[
|
||||
... and ending with ]#
|
||||
]#
|
||||
|
||||
discard """
|
||||
|
Reference in New Issue
Block a user