mirror of
https://github.com/golang/go
synced 2024-11-24 23:37:56 -07:00
sync: fix example code
Fixes #1631. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4303046
This commit is contained in:
parent
a73817716a
commit
39ffd546bd
@ -22,7 +22,7 @@ import "runtime"
|
||||
// go func() {
|
||||
// // Do something.
|
||||
// wg.Done()
|
||||
// }
|
||||
// }()
|
||||
// }
|
||||
// wg.Wait()
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user