We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89acd1f + d94e9c0 commit 62c7ca6Copy full SHA for 62c7ca6
doc/tutorial.md
@@ -228,7 +228,7 @@ let monster_size: int = 50;
228
Local variables may shadow earlier declarations, as in the previous example:
229
`monster_size` was first declared as a `float`, and then a second
230
`monster_size` was declared as an `int`. If you were to actually compile this
231
-example, though, the compiler would determine that the second `monster_size` is
+example, though, the compiler would determine that the first `monster_size` is
232
unused and issue a warning (because this situation is likely to indicate a
233
programmer error). For occasions where unused variables are intentional, their
234
names may be prefixed with an underscore to silence the warning, like `let
0 commit comments