Skip to content

Commit e4b3915

Browse files
committed
tutorial: Fix example in syntax basics section
1 parent 1983e54 commit e4b3915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ name. Constants, an the other hand, always require a type annotation.
225225

226226
~~~~
227227
const monster_factor: float = 57.8;
228-
let monster_size: float = monster_factor * 10.0;
228+
let monster_size = monster_factor * 10.0;
229229
let monster_size: int = 50;
230230
~~~~
231231

0 commit comments

Comments
 (0)