diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-12-20 13:18:37 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-12-20 16:32:43 -0800 |
| commit | e4b3915393fb4b0a4de7e2ebf91801f32060c2a8 (patch) | |
| tree | 9704830f8c9ec1a559682bb8afecb04690a00d48 | |
| parent | 1983e540e6ff6fbe7fb35f33edefdca8a8fe1a29 (diff) | |
tutorial: Fix example in syntax basics section
| -rw-r--r-- | doc/tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tutorial.md b/doc/tutorial.md index 38a9a271f9f..7af645b2b80 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -225,7 +225,7 @@ name. Constants, an the other hand, always require a type annotation. ~~~~ const monster_factor: float = 57.8; -let monster_size: float = monster_factor * 10.0; +let monster_size = monster_factor * 10.0; let monster_size: int = 50; ~~~~ |
