]> Cypherpunks repositories - gostls13.git/commitdiff
bytes: fixed typo.
authorMarcel van Lohuizen <mpvl@golang.org>
Tue, 19 Jun 2012 00:43:05 +0000 (17:43 -0700)
committerMarcel van Lohuizen <mpvl@golang.org>
Tue, 19 Jun 2012 00:43:05 +0000 (17:43 -0700)
R=r
CC=golang-dev
https://golang.org/cl/6301096

src/pkg/bytes/bytes.go

index 7d1426fb4174d8197b7370933a4947e5dc456115..09b3c1a2705500d79d8096fc41fd4156a33116e6 100644 (file)
@@ -415,7 +415,7 @@ func Repeat(b []byte, count int) []byte {
 // ToUpper returns a copy of the byte array s with all Unicode letters mapped to their upper case.
 func ToUpper(s []byte) []byte { return Map(unicode.ToUpper, s) }
 
-// ToUpper returns a copy of the byte array s with all Unicode letters mapped to their lower case.
+// ToLower returns a copy of the byte array s with all Unicode letters mapped to their lower case.
 func ToLower(s []byte) []byte { return Map(unicode.ToLower, s) }
 
 // ToTitle returns a copy of the byte array s with all Unicode letters mapped to their title case.