Commit 884f3256 authored by Rob Pike's avatar Rob Pike

Unicode: fix stupid typo in comment.

R=rsc
CC=golang-dev
https://golang.org/cl/864041
parent 4e2b7f8f
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment