summaryrefslogtreecommitdiffhomepage
path: root/nim.html.markdown
diff options
context:
space:
mode:
authorJosias <me@josias.dev>2020-07-16 18:48:59 +0200
committerAndrew Ryan Davis <AndrewDavis1191@gmail.com>2020-07-19 23:16:14 -0700
commit6a5b626f788d4aaaa2f3c6e7e749bf3b77410245 (patch)
tree7a626298f12a917d166d62c839f13f3cb594ce9f /nim.html.markdown
parent45c9cb43792cc0d8f4211ed68eca7d8c8c08d7ee (diff)
Nim: Fix syntax error
Semicolons for types are supposed to be directly after the variable name.
Diffstat (limited to 'nim.html.markdown')
-rw-r--r--nim.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim.html.markdown b/nim.html.markdown
index 1e17d8f0..9730e579 100644
--- a/nim.html.markdown
+++ b/nim.html.markdown
@@ -28,7 +28,7 @@ Or for unparsable, broken code
var # Declare (and assign) variables,
letter: char = 'n' # with or without type annotations
lang = "N" & "im"
- nLength : int = len(lang)
+ nLength: int = len(lang)
boat: float
truth: bool = false