summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/strings/strings.go2
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)
}