Commit 7757fcc1 authored by Andrew Gerrand's avatar Andrew Gerrand

doc: fix typo in go_for_cpp_programmers.html

R=rsc, gri
CC=golang-dev
https://golang.org/cl/2191043
parent 9997dae7
......@@ -668,7 +668,7 @@ func manager(ch chan cmd) {
var val int = 0
for {
c := <- ch
if c.get { c.val = val ch <- c }
if c.get { c.val = val; ch <- c }
else { val = c.val }
}
}
......
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