]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.24] bytes: use "subslice" instead of "substring" in doc comments
authorCherry Mui <cherryyz@google.com>
Fri, 7 Feb 2025 22:42:02 +0000 (17:42 -0500)
committerCherry Mui <cherryyz@google.com>
Mon, 10 Feb 2025 19:50:28 +0000 (11:50 -0800)
commit35c0ea22a94aa5ad447bf640c4f7388d3f1d75eb
tree1abf8c88c3d9c93d9269a26320d5f9e3d2da8464
parent6d399e9da6090af289aba1f9c4bcc8488387ff9a
[release-branch.go1.24] bytes: use "subslice" instead of "substring" in doc comments

The bytes package iterators return subslices, not substrings.

Updates #61901.

Change-Id: Ida91d3e33a0f178edfe9a267861adf4f13f9a965
Reviewed-on: https://go-review.googlesource.com/c/go/+/647875
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit ff27d270c9f95178f9749bc8e1f15957b1c1d5b3)
Reviewed-on: https://go-review.googlesource.com/c/go/+/648095
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Bypass: Cherry Mui <cherryyz@google.com>
src/bytes/iter.go