]> Cypherpunks repositories - gostls13.git/commitdiff
vet: fix comment typo.
authorNigel Tao <nigeltao@golang.org>
Thu, 2 Feb 2012 06:53:28 +0000 (17:53 +1100)
committerNigel Tao <nigeltao@golang.org>
Thu, 2 Feb 2012 06:53:28 +0000 (17:53 +1100)
R=rsc, gri
CC=golang-dev
https://golang.org/cl/5620049

src/cmd/vet/method.go

index 6bf5e2a18f54427a47678e7afd7f8e4ebd6e7b42..41cb40ff9e0e25dc8972a4877e588a5b4e1353dd 100644 (file)
@@ -29,7 +29,7 @@ type MethodSig struct {
 // For example, a type might implement a Scan method that
 // has nothing to do with fmt.Scanner, but we still want to check
 // the methods that are intended to implement fmt.Scanner.
-// To do that, the arguments that have a + prefix are treated as
+// To do that, the arguments that have a = prefix are treated as
 // signals that the canonical meaning is intended: if a Scan
 // method doesn't have a fmt.ScanState as its first argument,
 // we let it go.  But if it does have a fmt.ScanState, then the