diff --git a/concurrency/generator.md b/concurrency/generator.md index 92982e8..6d4d134 100644 --- a/concurrency/generator.md +++ b/concurrency/generator.md @@ -11,7 +11,7 @@ func Count(start int, end int) chan int { go func(ch chan int) { for i := start; i < end ; i++ { // Blocks on the operation - ch <- result + ch <- i } close(ch)