diff options
author | Robert Griesemer <gri@golang.org> | 2009-11-30 12:50:02 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-11-30 12:50:02 -0800 |
commit | 2b64b6a9acdf85fca4a457d4364fa468d0ad2ffe (patch) | |
tree | 155455a9d48e6f4be2608c43ea726602a4314d43 /src | |
parent | 2ad2f64e7a66ab999d28f302dfd2e18fab241b90 (diff) | |
download | golang-2b64b6a9acdf85fca4a457d4364fa468d0ad2ffe.tar.gz |
Typo in comment.
Fixes issue 358.
R=rsc
CC=r
http://codereview.appspot.com/164043
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/strings/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/strings.go b/src/pkg/strings/strings.go index 1578b3db6..013af680a 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. |