diff options
| author | Sean Liao <sean@liao.dev> | 2025-09-14 16:24:57 +0100 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-09-16 09:42:15 -0700 |
| commit | ac82fe68aaec797a9677171b00241fba57f057bc (patch) | |
| tree | 15b4abccba6e035f3c2e045f4aa3236038af1690 /src/bytes/bytes.go | |
| parent | 0b26678db2d042c6273c435df5cb5a37e7e04994 (diff) | |
| download | go-ac82fe68aaec797a9677171b00241fba57f057bc.tar.xz | |
bytes,strings: remove reference to non-existent SplitFunc
Fixes #75462
Updates #72841
Change-Id: Ie2cbbdb031578a3138ecc6e60c0025807f1990e6
Reviewed-on: https://go-review.googlesource.com/c/go/+/703675
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/bytes/bytes.go')
| -rw-r--r-- | src/bytes/bytes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bytes/bytes.go b/src/bytes/bytes.go index 9a7f4ee3c9..87183c0195 100644 --- a/src/bytes/bytes.go +++ b/src/bytes/bytes.go @@ -508,7 +508,7 @@ func Fields(s []byte) [][]byte { // It splits the slice s at each run of code points c satisfying f(c) and // returns a slice of subslices of s. If all code points in s satisfy f(c), or // len(s) == 0, an empty slice is returned. Every element of the returned slice is -// non-empty. Unlike [SplitFunc], leading and trailing runs of code points +// non-empty. Unlike [Split], leading and trailing runs of code points // satisfying f(c) are discarded. // // FieldsFunc makes no guarantees about the order in which it calls f(c) |
