We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ca6f66 commit 399a51cCopy full SHA for 399a51c
concurrency/generator.md
@@ -9,7 +9,7 @@ func Count(start int, end int) chan int {
9
ch := make(chan int)
10
11
go func(ch chan int) {
12
- for i := start; i < end ; i++ {
+ for i := start; i <= end ; i++ {
13
// Blocks on the operation
14
ch <- i
15
}
0 commit comments