aboutsummaryrefslogtreecommitdiff
path: root/doc/go_spec.html
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2020-09-24 12:44:19 -0700
committerRobert Griesemer <gri@golang.org>2020-09-24 20:41:14 +0000
commit23cc16cdd2fbda37dd54de944462f57795da7bd2 (patch)
tree1f87f3dd6e7e22d5c59c3256758592295909cff1 /doc/go_spec.html
parent5824a4ce1a0e47f3093128371c7156b35fe9d806 (diff)
downloadgo-23cc16cdd2fbda37dd54de944462f57795da7bd2.tar.gz
go-23cc16cdd2fbda37dd54de944462f57795da7bd2.zip
spec: better variable name for operator example
Suggested by @yaxinlx. Fixes #41612. Change-Id: I98b9968a95d090ee3c67ff02678e1874e6d98c33 Reviewed-on: https://go-review.googlesource.com/c/go/+/257159 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r--doc/go_spec.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 154bdbfeaf..e9e9e42130 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -1,6 +1,6 @@
<!--{
"Title": "The Go Programming Language Specification",
- "Subtitle": "Version of Jan 14, 2020",
+ "Subtitle": "Version of Sep 24, 2020",
"Path": "/ref/spec"
}-->
@@ -3646,7 +3646,7 @@ For instance, <code>x / y * z</code> is the same as <code>(x / y) * z</code>.
x &lt;= f()
^a &gt;&gt; b
f() || g()
-x == y+1 &amp;&amp; &lt;-chanPtr &gt; 0
+x == y+1 &amp;&amp; &lt;-chanInt &gt; 0
</pre>