From 5743fb594f54de1979a4dd8f97849968b484acee Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 10 Oct 2009 18:56:13 -0700 Subject: [PATCH] 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 --- src/pkg/strings/strings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } -- 2.48.1