Skip to content

Commit 62c7ca6

Browse files
committed
Merge remote-tracking branch 'superoptimizer/master' into HEAD
Conflicts: doc/tutorial.md
2 parents 89acd1f + d94e9c0 commit 62c7ca6

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
@@ -228,7 +228,7 @@ let monster_size: int = 50;
228228
Local variables may shadow earlier declarations, as in the previous example:
229229
`monster_size` was first declared as a `float`, and then a second
230230
`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
231+
example, though, the compiler would determine that the first `monster_size` is
232232
unused and issue a warning (because this situation is likely to indicate a
233233
programmer error). For occasions where unused variables are intentional, their
234234
names may be prefixed with an underscore to silence the warning, like `let

0 commit comments

Comments
 (0)