]> Cypherpunks repositories - gostls13.git/commitdiff
Fix typo in spec
authorFazlul Shahriar <fshahriar@gmail.com>
Tue, 1 Dec 2009 05:23:58 +0000 (21:23 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 1 Dec 2009 05:23:58 +0000 (21:23 -0800)
R=golang-dev, rsc
https://golang.org/cl/164052

doc/go_spec.html

index 8a247461daeb53b23e3dce6b861cc05bd7c9befa..fc3fbaf30a692b2bdb7ad998da364164f3aeaf4f 100644 (file)
@@ -4402,7 +4402,7 @@ func generate(ch chan&lt;- 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 &lt;-chan int, dst chan&lt;- int, prime int) {
        for i := range src {    // Loop over values received from 'src'.