From f7e32625ecaba2d5b1cc0695f2c79e3a6eddfde1 Mon Sep 17 00:00:00 2001 From: Domenico Luciani Date: Mon, 3 Oct 2016 15:55:45 +0200 Subject: [PATCH] concurrency/generator: remove undefined result --- concurrency/generator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)