From: Rob Pike Date: Wed, 31 Mar 2010 01:33:06 +0000 (-0700) Subject: Unicode: fix stupid typo in comment. X-Git-Tag: weekly.2010-04-13~98 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=884f3256f0054e287d38976a5f3ee6a32b738744;p=gostls13.git Unicode: fix stupid typo in comment. R=rsc CC=golang-dev https://golang.org/cl/864041 --- diff --git a/src/pkg/unicode/letter.go b/src/pkg/unicode/letter.go index b3ae9ee6ec..9380624fd9 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 {