1
0
mirror of https://github.com/golang/go synced 2024-11-24 20:50:11 -07:00

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
This commit is contained in:
Rob Pike 2009-10-21 19:51:05 -07:00
parent 1d390cec1e
commit f1b91263d8

View 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);
}