summaryrefslogtreecommitdiff
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
commit7cf52e892003f39dfcf4267f130da79f7a1f1540 (patch)
treee14b16220aea62f88f23c2ade0df94ed3825b6af /src/pkg/bytes/bytes.go
parentf3a5945e90dda00cc54490f93cc641ecf0219a52 (diff)
downloadgolang-7cf52e892003f39dfcf4267f130da79f7a1f1540.tar.gz
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 564c42d4a..6a36829e1 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);
}