diff --git a/doc/go_spec.html b/doc/go_spec.html index ac27c1d6c14..277cd277758 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -6643,7 +6643,7 @@ the range clause is equivalent to the same clause without that identifier.

-The range expression x is evaluated once before beginning the loop, +The range expression x is evaluated before beginning the loop, with one exception: if at most one iteration variable is present and x or len(x) is constant, the range expression is not evaluated.