diff --git a/src/strings/strings.go b/src/strings/strings.go index d2cda74f687..91c6ddef669 100644 --- a/src/strings/strings.go +++ b/src/strings/strings.go @@ -379,7 +379,7 @@ var asciiSpace = [256]uint8{'\t': 1, '\n': 1, '\v': 1, '\f': 1, '\r': 1, ' ': 1} // Fields splits the string s around each instance of one or more consecutive white space // characters, as defined by [unicode.IsSpace], returning a slice of substrings of s or an // empty slice if s contains only white space. Every element of the returned slice is -// non-empty. Unlike [Split], leading and trailing runs runs of white space characters +// non-empty. Unlike [Split], leading and trailing runs of white space characters // are discarded. func Fields(s string) []string { // First count the fields.