1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:34:39 -07:00

Typo in comment.

Fixes #358.

R=rsc
CC=r
https://golang.org/cl/164043
This commit is contained in:
Robert Griesemer 2009-11-30 12:50:02 -08:00
parent 12206f64dd
commit c1767dbdda

View File

@ -223,7 +223,7 @@ func Repeat(s string, count int) string {
// ToUpper returns a copy of the string s with all Unicode letters mapped to their upper case.
func ToUpper(s string) string { return Map(unicode.ToUpper, s) }
// ToUpper returns a copy of the string s with all Unicode letters mapped to their lower case.
// ToLower returns a copy of the string s with all Unicode letters mapped to their lower case.
func ToLower(s string) string { return Map(unicode.ToLower, s) }
// ToTitle returns a copy of the string s with all Unicode letters mapped to their title case.