aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index ac27c1d6c1..277cd27775 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.
</p>
<p>
-The range expression <code>x</code> is evaluated once before beginning the loop,
+The range expression <code>x</code> is evaluated before beginning the loop,
with one exception: if at most one iteration variable is present and <code>x</code> or
<a href="#Length_and_capacity"><code>len(x)</code></a> is <a href="#Constants">constant</a>,
the range expression is not evaluated.