From: Marcel van Lohuizen Date: Tue, 19 Jun 2012 00:43:05 +0000 (-0700) Subject: bytes: fixed typo. X-Git-Tag: go1.1rc2~2916 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9c9754409dc079278631b16a5866ec86d458eac5;p=gostls13.git 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.