diff options
| author | Kir Kolyshkin <kolyshkin@gmail.com> | 2024-07-11 11:32:41 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-07-16 20:07:41 +0000 |
| commit | f2bcab5fb3436144c750e48934b4829111d407d6 (patch) | |
| tree | 0351c2a9069c289fe2004e9821bb48d6608b1085 /src/strings/strings.go | |
| parent | 9915b8705948f9118d7f4865d433d05a31ce0433 (diff) | |
| download | go-f2bcab5fb3436144c750e48934b4829111d407d6.tar.xz | |
regexp: more cross-references in docstrings
Change-Id: I93f617bb6d82b00d44ce9a54c2ddcc8a61209783
Reviewed-on: https://go-review.googlesource.com/c/go/+/597776
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/strings/strings.go')
| -rw-r--r-- | src/strings/strings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings/strings.go b/src/strings/strings.go index 52a715c66b..0bd3c1c233 100644 --- a/src/strings/strings.go +++ b/src/strings/strings.go @@ -286,7 +286,7 @@ func SplitN(s, sep string, n int) []string { return genSplit(s, sep, 0, n) } // - n < 0: all substrings. // // Edge cases for s and sep (for example, empty strings) are handled -// as described in the documentation for SplitAfter. +// as described in the documentation for [SplitAfter]. func SplitAfterN(s, sep string, n int) []string { return genSplit(s, sep, len(sep), n) } |
