change Title to ToTitle for consistency. (the doc comment was already right)

R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=35572
CL=35572
This commit is contained in:
Rob Pike 2009-10-10 18:56:13 -07:00
parent 86cfaf66a7
commit 5743fb594f

View file

@ -188,7 +188,7 @@ func ToLower(s string) string {
}
// ToTitle returns a copy of the string s with all Unicode letters mapped to their title case.
func Title(s string) string {
func ToTitle(s string) string {
return Map(unicode.ToTitle, s)
}