mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
spec: remove an unnecessary semicolon from code example
Change-Id: Ie4c92da0e3cbb97d3d7e03c7d15196c34f58a2cd Reviewed-on: https://go-review.googlesource.com/42613 Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
f2c5f57a87
commit
e963510330
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<!--{
|
||||
"Title": "The Go Programming Language Specification",
|
||||
"Subtitle": "Version of April 28, 2017",
|
||||
"Subtitle": "Version of May 3, 2017",
|
||||
"Path": "/ref/spec"
|
||||
}-->
|
||||
|
||||
|
@ -5126,7 +5126,7 @@ function completes.
|
|||
|
||||
<pre>
|
||||
go Server()
|
||||
go func(ch chan<- bool) { for { sleep(10); ch <- true; }} (c)
|
||||
go func(ch chan<- bool) { for { sleep(10); ch <- true }} (c)
|
||||
</pre>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue