mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Nim: Fix syntax error
Semicolons for types are supposed to be directly after the variable name.
This commit is contained in:
parent
45c9cb4379
commit
6a5b626f78
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user