Commit 330139e3 authored by Fazlul Shahriar's avatar Fazlul Shahriar Committed by Russ Cox

Fix typo in spec

R=golang-dev, rsc
https://golang.org/cl/164052
parent 593ea313
...@@ -4402,7 +4402,7 @@ func generate(ch chan<- int) { ...@@ -4402,7 +4402,7 @@ func generate(ch chan<- int) {
} }
} }
// Copy the values from channel 'in' to channel 'out', // Copy the values from channel 'src' to channel 'dst',
// removing those divisible by 'prime'. // removing those divisible by 'prime'.
func filter(src <-chan int, dst chan<- int, prime int) { func filter(src <-chan int, dst chan<- int, prime int) {
for i := range src { // Loop over values received from 'src'. for i := range src { // Loop over values received from 'src'.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment