From: Rob Pike Date: Thu, 22 Oct 2009 02:51:05 +0000 (-0700) Subject: fix typo/oversight: s/Title/ToTitle/. the comment was already correct X-Git-Tag: weekly.2009-11-06~237 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f1b91263d8ec8e0b6ac3f50e4fe614cccc3bff9d;p=gostls13.git 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 --- 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); }