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 <iant@golang.org>
Trust: Dmitri Shuralyov <dmitshur@golang.org>
diff --git a/doc/go1.18.html b/doc/go1.18.html
index b86e907..44c5644 100644
--- a/doc/go1.18.html
+++ b/doc/go1.18.html
@@ -214,6 +214,12 @@
<p><!-- CL 332771 -->
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
</p>
+
+ <p><!-- CL 359485 -->
+ The <a href="/pkg/bytes/#Title"><code>Title</code></a> function is now deprecated. It doesn't
+ handle Unicode punctuation and language-specific capitalization rules, and is superseded by the
+ <a href="https://golang.org/x/text/cases">golang.org/x/text/cases</a> package.
+ </p>
</dd>
</dl><!-- bytes -->
@@ -342,6 +348,12 @@
<p><!-- CL 332771 -->
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
</p>
+
+ <p><!-- CL 359485 -->
+ The <a href="/pkg/strings/#Title"><code>Title</code></a> function is now deprecated. It doesn't
+ handle Unicode punctuation and language-specific capitalization rules, and is superseded by the
+ <a href="https://golang.org/x/text/cases">golang.org/x/text/cases</a> package.
+ </p>
</dd>
</dl><!-- strings -->