From: Robert Griesemer Date: Mon, 30 Nov 2009 20:50:02 +0000 (-0800) Subject: Typo in comment. X-Git-Tag: weekly.2009-12-07~102 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c1767dbdda38e801b878a0b78eb9fc3404df6b0a;p=gostls13.git Typo in comment. Fixes #358. R=rsc CC=r https://golang.org/cl/164043 --- diff --git a/src/pkg/strings/strings.go b/src/pkg/strings/strings.go index 1578b3db69..013af680a2 100644 --- a/src/pkg/strings/strings.go +++ b/src/pkg/strings/strings.go @@ -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.