Skip to content
Snippets Groups Projects
Commit f1b91263 authored by Rob Pike's avatar Rob Pike
Browse files

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
parent 1d390cec
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment