From 656297e1fec9a127ff742df16958ee279ccacec5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 12 Sep 2019 23:22:53 +0000 Subject: libgo: update to Go1.13 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194698 From-SVN: r275691 --- libgo/go/strings/strings.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libgo/go/strings/strings.go') diff --git a/libgo/go/strings/strings.go b/libgo/go/strings/strings.go index 7337481..cee315c 100644 --- a/libgo/go/strings/strings.go +++ b/libgo/go/strings/strings.go @@ -610,7 +610,8 @@ func ToLower(s string) string { return Map(unicode.ToLower, s) } -// ToTitle returns a copy of the string s with all Unicode letters mapped to their title case. +// ToTitle returns a copy of the string s with all Unicode letters mapped to +// their Unicode title case. func ToTitle(s string) string { return Map(unicode.ToTitle, s) } // ToUpperSpecial returns a copy of the string s with all Unicode letters mapped to their @@ -626,7 +627,7 @@ func ToLowerSpecial(c unicode.SpecialCase, s string) string { } // ToTitleSpecial returns a copy of the string s with all Unicode letters mapped to their -// title case, giving priority to the special casing rules. +// Unicode title case, giving priority to the special casing rules. func ToTitleSpecial(c unicode.SpecialCase, s string) string { return Map(c.ToTitle, s) } @@ -707,7 +708,7 @@ func isSeparator(r rune) bool { } // Title returns a copy of the string s with all Unicode letters that begin words -// mapped to their title case. +// mapped to their Unicode title case. // // BUG(rsc): The rule Title uses for word boundaries does not handle Unicode punctuation properly. func Title(s string) string { -- cgit v1.1