diff options
author | Rob Pike <r@golang.org> | 2010-03-30 18:33:06 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-03-30 18:33:06 -0700 |
commit | 0afefae122f0a9195e777314c5eddd65da7c26ce (patch) | |
tree | 00bec052459021acca297474ca4ab97c13f5364f | |
parent | 75893179350ecef398f364fc87a00886d2e34018 (diff) | |
download | golang-0afefae122f0a9195e777314c5eddd65da7c26ce.tar.gz |
Unicode: fix stupid typo in comment.
R=rsc
CC=golang-dev
http://codereview.appspot.com/864041
-rw-r--r-- | src/pkg/unicode/letter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/unicode/letter.go b/src/pkg/unicode/letter.go index b3ae9ee6e..9380624fd 100644 --- a/src/pkg/unicode/letter.go +++ b/src/pkg/unicode/letter.go @@ -222,7 +222,7 @@ func (special SpecialCase) ToUpper(rune int) int { return r } -// ToTitlemaps the rune to upper case giving priority to the special mapping. +// ToTitle maps the rune to title case giving priority to the special mapping. func (special SpecialCase) ToTitle(rune int) int { r := to(TitleCase, rune, []CaseRange(special)) if r == rune { @@ -231,7 +231,7 @@ func (special SpecialCase) ToTitle(rune int) int { return r } -// ToLower maps the rune to upper case giving priority to the special mapping. +// ToLower maps the rune to lower case giving priority to the special mapping. func (special SpecialCase) ToLower(rune int) int { r := to(LowerCase, rune, []CaseRange(special)) if r == rune { |