From: Rob Pike Date: Sun, 11 Oct 2009 01:56:13 +0000 (-0700) Subject: change Title to ToTitle for consistency. (the doc comment was already right) X-Git-Tag: weekly.2009-11-06~355 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5743fb594f54de1979a4dd8f97849968b484acee;p=gostls13.git 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 --- diff --git a/src/pkg/strings/strings.go b/src/pkg/strings/strings.go index 4883d392cd..bb1b8b2311 100644 --- a/src/pkg/strings/strings.go +++ b/src/pkg/strings/strings.go @@ -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) }