mirror of
https://github.com/golang/go
synced 2024-11-11 20:50:23 -07:00
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>
This commit is contained in:
parent
5824a4ce1a
commit
23cc16cdd2
@ -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 <= f()
|
||||
^a >> b
|
||||
f() || g()
|
||||
x == y+1 && <-chanPtr > 0
|
||||
x == y+1 && <-chanInt > 0
|
||||
</pre>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user