]> Cypherpunks repositories - gostls13.git/commitdiff
[release-branch.go1] bytes: fixed typo.
authorMarcel van Lohuizen <mpvl@golang.org>
Fri, 21 Sep 2012 19:53:40 +0000 (05:53 +1000)
committerMarcel van Lohuizen <mpvl@golang.org>
Fri, 21 Sep 2012 19:53:40 +0000 (05:53 +1000)
««« backport a3c2d3c41c45
bytes: fixed typo.

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.