1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:54:42 -07:00

bytes: fixed typo.

R=r
CC=golang-dev
https://golang.org/cl/6301096
This commit is contained in:
Marcel van Lohuizen 2012-06-18 17:43:05 -07:00
parent 61809cd182
commit 9c9754409d

View 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.