From f1b91263d8ec8e0b6ac3f50e4fe614cccc3bff9d Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 21 Oct 2009 19:51:05 -0700 Subject: [PATCH] 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 --- src/pkg/bytes/bytes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go index 564c42d4a89..6a36829e172 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); }