diff options
| author | kovan <xaum.io@gmail.com> | 2026-02-17 02:13:17 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2026-03-16 15:33:08 -0700 |
| commit | dbb3793b59371828cd1463bd3796f586ad4e6433 (patch) | |
| tree | 9fd7b97814bcf08a33099a135dc71160079ffef5 /test/codegen | |
| parent | 5262546d8296a6bed3fcd385385db51bd3e5f48b (diff) | |
| download | go-dbb3793b59371828cd1463bd3796f586ad4e6433.tar.xz | |
slices: document that Delete, DeleteFunc, Replace, Insert modify the slice
Rephrase the opening doc comments for Delete, DeleteFunc, Replace, and
Insert to clarify that these functions modify s in place and return the
modified slice, following the pattern used by Compact.
Fixes #64329
Change-Id: I82c381a350b71efc819af427bda07654f8137e1e
Reviewed-on: https://go-review.googlesource.com/c/go/+/741447
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Diffstat (limited to 'test/codegen')
0 files changed, 0 insertions, 0 deletions
