diff options
author | Rob Pike <r@golang.org> | 2009-10-10 18:56:13 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-10-10 18:56:13 -0700 |
commit | 02fc6a22527ab9022d7820f76654da9c7b460fab (patch) | |
tree | f5a945045a9a80dbeabb46b70633766cad4966d3 | |
parent | f7a36049c1d4b9145ea5721848c54d1c5b6ecdac (diff) | |
download | golang-02fc6a22527ab9022d7820f76654da9c7b460fab.tar.gz |
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
-rw-r--r-- | src/pkg/strings/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/strings.go b/src/pkg/strings/strings.go index 4883d392c..bb1b8b231 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) } |