From ca153acaa82a19efef87d504ec4eb01821a35b46 Mon Sep 17 00:00:00 2001 From: Kleber Correia Date: Tue, 11 Dec 2018 17:50:10 +0000 Subject: [PATCH] Fix README code indentation --- concurrency/generator.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/concurrency/generator.md b/concurrency/generator.md index e9821b6..6ddde95 100644 --- a/concurrency/generator.md +++ b/concurrency/generator.md @@ -2,7 +2,7 @@ [Generators](https://en.wikipedia.org/wiki/Generator_(computer_programming)) yields a sequence of values one at a time. -## Implementation +## Implementation ```go func Count(start int, end int) chan int { @@ -14,7 +14,7 @@ func Count(start int, end int) chan int { ch <- i } - close(ch) + close(ch) }(ch) return ch