Skip to content

Commit

Permalink
Update 10.4.3.md
Browse files Browse the repository at this point in the history
  • Loading branch information
icpd committed Mar 25, 2020
1 parent 8cc81f9 commit 5f62263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eBook/chapter10/10.4.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func add(c chan int) {
select {
case input := <-c:
sum = sum + input
case <-t.c:
case <-t.C:
c = nil
fmt.Println(sum)
}
Expand Down

0 comments on commit 5f62263

Please sign in to comment.