From ab31dbc05b725135ca5f6fd4337a041d8433f153 Mon Sep 17 00:00:00 2001 From: smasher164 Date: Sat, 6 Nov 2021 02:59:00 -0400 Subject: [PATCH] doc/go1.18: strings,bytes: deprecate Title Updates #48367. Change-Id: Ib8fc6d9dd7c3c6a70fefe077615f51a71d9c42ed Reviewed-on: https://go-review.googlesource.com/c/go/+/361899 Reviewed-by: Ian Lance Taylor Trust: Dmitri Shuralyov --- doc/go1.18.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/go1.18.html b/doc/go1.18.html index b86e907874..44c56444fc 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -214,6 +214,12 @@ Do not send CLs removing the interior tags from such phrases.

TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight

+ +

+ The Title function is now deprecated. It doesn't + handle Unicode punctuation and language-specific capitalization rules, and is superseded by the + golang.org/x/text/cases package. +

@@ -342,6 +348,12 @@ Do not send CLs removing the interior tags from such phrases.

TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight

+ +

+ The Title function is now deprecated. It doesn't + handle Unicode punctuation and language-specific capitalization rules, and is superseded by the + golang.org/x/text/cases package. +

-- 2.50.0