]> Cypherpunks repositories - gostls13.git/commitdiff
Typo in comment.
authorRobert Griesemer <gri@golang.org>
Mon, 30 Nov 2009 20:50:02 +0000 (12:50 -0800)
committerRobert Griesemer <gri@golang.org>
Mon, 30 Nov 2009 20:50:02 +0000 (12:50 -0800)
Fixes #358.

R=rsc
CC=r
https://golang.org/cl/164043

src/pkg/strings/strings.go

index 1578b3db6908d9ec2d0f48f6bfd2ce1be6fbeb99..013af680a2537286003d3a9b673f1ac313ab334a 100644 (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.