aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes/bytes.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-10-21 19:51:05 -0700
committerRob Pike <r@golang.org>2009-10-21 19:51:05 -0700
commitf1b91263d8ec8e0b6ac3f50e4fe614cccc3bff9d (patch)
treee14b16220aea62f88f23c2ade0df94ed3825b6af /src/pkg/bytes/bytes.go
parent1d390cec1e7f04f610a9391c194cae8148d4756d (diff)
downloadgo-f1b91263d8ec8e0b6ac3f50e4fe614cccc3bff9d.tar.xz
fix typo/oversight: s/Title/ToTitle/. the comment was already correct
R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=35964 CL=35979
Diffstat (limited to 'src/pkg/bytes/bytes.go')
-rw-r--r--src/pkg/bytes/bytes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go
index 564c42d4a8..6a36829e17 100644
--- a/src/pkg/bytes/bytes.go
+++ b/src/pkg/bytes/bytes.go
@@ -240,7 +240,7 @@ func ToLower(s []byte) []byte {
}
// ToTitle returns a copy of the byte array s with all Unicode letters mapped to their title case.
-func Title(s []byte) []byte {
+func ToTitle(s []byte) []byte {
return Map(unicode.ToTitle, s);
}