diff --git a/doc/go_spec.html b/doc/go_spec.html index 0fd12bf4b5..f5069f62d6 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -6644,8 +6644,8 @@ the range clause is equivalent to the same clause without that identifier.
The range expression x is evaluated once before beginning the loop,
-with one exception: if at most one iteration variable is present and
-len(x) is constant,
+with one exception: if at most one iteration variable is present and x or
+len(x) is constant,
the range expression is not evaluated.