Skip to content

Commit

Permalink
Change phrase in type deduction
Browse files Browse the repository at this point in the history
updated phrase in type deduction from "any value of this type" to "the highest value of this type"
  • Loading branch information
chuacw authored Nov 16, 2017
1 parent 58e452d commit 15427dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,6 @@ parameters or return parameters.
.. warning::
The type is only deduced from the first assignment, so
the loop in the following snippet is infinite, as ``i`` will have the type
``uint8`` and any value of this type is smaller than ``2000``.
``uint8`` and the highest value of this type is smaller than ``2000``.
``for (var i = 0; i < 2000; i++) { ... }``

0 comments on commit 15427dc

Please sign in to comment.