Skip to content

Commit

Permalink
Merge pull request hantmac#147 from whoisix/patch-4
Browse files Browse the repository at this point in the history
Update 10.4.3.md
  • Loading branch information
hantmac committed Mar 26, 2020
2 parents 8cc81f9 + 5f62263 commit 581924c
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 581924c

Please sign in to comment.