diff options
| author | Ian Lance Taylor <iant@golang.org> | 2024-07-06 14:42:16 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-08 00:05:18 +0000 |
| commit | 6d89b38ed86e0bfa0ddaba08dc4071e6bb300eea (patch) | |
| tree | 54d6783c3d52dc669684594fda4135df6886bc30 /src/testing/testing.go | |
| parent | 5565462a866af6d882d1f367ae5611260ad07b79 (diff) | |
| download | go-6d89b38ed86e0bfa0ddaba08dc4071e6bb300eea.tar.xz | |
unsafe: clarify when String bytes can be modified
They can be modified when the string returned by String no longer exists.
Fixes #68300
Change-Id: I526a068151f7aad1ab6827504b51a84e7399cafe
Reviewed-on: https://go-review.googlesource.com/c/go/+/596955
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/testing/testing.go')
0 files changed, 0 insertions, 0 deletions
