From: Marcel van Lohuizen Date: Fri, 21 Sep 2012 19:53:40 +0000 (+1000) Subject: [release-branch.go1] bytes: fixed typo. X-Git-Tag: go1.0.3~209 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=002a3b4722680ce8765acb2e22afe2fab7480c3f;p=gostls13.git [release-branch.go1] bytes: fixed typo. ««« backport a3c2d3c41c45 bytes: fixed typo. R=r CC=golang-dev https://golang.org/cl/6301096 »»» --- diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index 7d1426fb41..09b3c1a270 100644 --- a/src/pkg/bytes/bytes.go +++ b/src/pkg/bytes/bytes.go @@ -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.