Commit 39ffd546 authored by Andrew Gerrand's avatar Andrew Gerrand

sync: fix example code

Fixes #1631.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4303046
parent a7381771
...@@ -22,7 +22,7 @@ import "runtime" ...@@ -22,7 +22,7 @@ import "runtime"
// go func() { // go func() {
// // Do something. // // Do something.
// wg.Done() // wg.Done()
// } // }()
// } // }
// wg.Wait() // wg.Wait()
// //
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment