]> Cypherpunks repositories - gostls13.git/commitdiff
Unicode: fix stupid typo in comment.
authorRob Pike <r@golang.org>
Wed, 31 Mar 2010 01:33:06 +0000 (18:33 -0700)
committerRob Pike <r@golang.org>
Wed, 31 Mar 2010 01:33:06 +0000 (18:33 -0700)
R=rsc
CC=golang-dev
https://golang.org/cl/864041

src/pkg/unicode/letter.go

index b3ae9ee6ecbc88a9fdab46eaa8f0764d4d87fb89..9380624fd9e556f989d82d6c265626206b5c8e20 100644 (file)
@@ -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 {