diff options
| author | cuishuang <imcusg@gmail.com> | 2025-11-21 10:47:06 +0800 |
|---|---|---|
| committer | Sean Liao <sean@liao.dev> | 2025-11-23 03:35:46 -0800 |
| commit | 437323ef7b933255c5c7fbb0775019e95f19b05e (patch) | |
| tree | 8ea74e005f9b73d5e0634806e6f3b7ac693475de /src/runtime/stack.go | |
| parent | 1993dca4002267b772566d6c8055c6ace46dfd4f (diff) | |
| download | go-437323ef7b933255c5c7fbb0775019e95f19b05e.tar.xz | |
slices: fix incorrect comment in slices.Insert function documentation
The comment previously stated that r[i+len(v)] would equal the value
originally at r[i], but it should be the value originally at s[i].
Change-Id: I635ddbdd5dc4da9c06ed426d5542bf969b7fe6dd
Reviewed-on: https://go-review.googlesource.com/c/go/+/722680
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions
