]> Cypherpunks repositories - gostls13.git/commitdiff
fix typo/oversight: s/Title/ToTitle/. the comment was already correct
authorRob Pike <r@golang.org>
Thu, 22 Oct 2009 02:51:05 +0000 (19:51 -0700)
committerRob Pike <r@golang.org>
Thu, 22 Oct 2009 02:51:05 +0000 (19:51 -0700)
R=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=35964
CL=35979

src/pkg/bytes/bytes.go

index 564c42d4a893eee4e1744f444929487360f56e96..6a36829e172f7b8386c831f5fabbb444c8ffcf69 100644 (file)
@@ -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);
 }