Commit 7aed6dd7 authored by smasher164's avatar smasher164 Committed by Ian Lance Taylor
Browse files

strings, bytes: deprecate Title

Title doesn't handle Unicode punctuation and language-specific
capitalization rules. Replace the BUG comment with a Deprecated
one, suggesting a more robust alternative, and allowing Title
to be exposed to tooling.

Fixes #48367.

Change-Id: I952f1f37cd35b587a95893fb022827bdd9ec7de9
Reviewed-on: https://go-review.googlesource.com/c/go/+/359485


Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
parent 58ec9252
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment