]> Cypherpunks repositories - gostls13.git/commitdiff
change Title to ToTitle for consistency. (the doc comment was already right)
authorRob Pike <r@golang.org>
Sun, 11 Oct 2009 01:56:13 +0000 (18:56 -0700)
committerRob Pike <r@golang.org>
Sun, 11 Oct 2009 01:56:13 +0000 (18:56 -0700)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=35572
CL=35572

src/pkg/strings/strings.go

index 4883d392cdca8ebeae81fded45fa7bb5f9452a41..bb1b8b2311868fb5cb81b75ab99f95de985a1a4e 100644 (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)
 }