From 15427dc8d393f4eb3cca8dec2257f8f2408bef22 Mon Sep 17 00:00:00 2001 From: Chua Chee Wee <1757930+chuacw@users.noreply.github.com> Date: Thu, 16 Nov 2017 23:18:06 +0800 Subject: [PATCH] Change phrase in type deduction updated phrase in type deduction from "any value of this type" to "the highest value of this type" --- docs/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/types.rst b/docs/types.rst index 0be8255e9..c716b95ea 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -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++) { ... }``