]> Cypherpunks repositories - gostls13.git/commit
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>
Sun, 9 Feb 2025 21:15:13 +0000 (13:15 -0800)
commitff27d270c9f95178f9749bc8e1f15957b1c1d5b3
tree981bea8a468cc7547cb611434e1ab57b135fd97a
parent215de81513286c010951624243c2923f7dc79675
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>
src/bytes/iter.go