Skip to content

Commit 7f1864b

Browse files
bradcypertgopherbot
authored andcommitted
strings: remove redundant "runs" from string.Fields docstring
Change-Id: I502b24af186fc56fe953acf7ab7d29f8eefb9c07 GitHub-Last-Rev: 1a4edf4 GitHub-Pull-Request: #75156 Reviewed-on: https://go-review.googlesource.com/c/go/+/699215 Reviewed-by: Sean Liao <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Sean Liao <[email protected]> Reviewed-by: Florian Lehner <[email protected]> Reviewed-by: Cherry Mui <[email protected]>
1 parent 90c21fa commit 7f1864b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/strings/strings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ var asciiSpace = [256]uint8{'\t': 1, '\n': 1, '\v': 1, '\f': 1, '\r': 1, ' ': 1}
379379
// Fields splits the string s around each instance of one or more consecutive white space
380380
// characters, as defined by [unicode.IsSpace], returning a slice of substrings of s or an
381381
// empty slice if s contains only white space. Every element of the returned slice is
382-
// non-empty. Unlike [Split], leading and trailing runs runs of white space characters
382+
// non-empty. Unlike [Split], leading and trailing runs of white space characters
383383
// are discarded.
384384
func Fields(s string) []string {
385385
// First count the fields.

0 commit comments

Comments
 (0)