Commit 5743fb59 authored by Rob Pike's avatar Rob Pike

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
parent 86cfaf66
......@@ -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)
}
......
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