1
0
mirror of https://github.com/golang/go synced 2024-11-21 21:04:41 -07:00

Fix typo in spec

R=golang-dev, rsc
https://golang.org/cl/164052
This commit is contained in:
Fazlul Shahriar 2009-11-30 21:23:58 -08:00 committed by Russ Cox
parent 593ea31361
commit 330139e3f2

View File

@ -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'.
func filter(src <-chan int, dst chan<- int, prime int) {
for i := range src { // Loop over values received from 'src'.