File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ func Fields(s []byte) [][]byte {
508
508
// It splits the slice s at each run of code points c satisfying f(c) and
509
509
// returns a slice of subslices of s. If all code points in s satisfy f(c), or
510
510
// len(s) == 0, an empty slice is returned. Every element of the returned slice is
511
- // non-empty. Unlike [SplitFunc ], leading and trailing runs of code points
511
+ // non-empty. Unlike [Split ], leading and trailing runs of code points
512
512
// satisfying f(c) are discarded.
513
513
//
514
514
// FieldsFunc makes no guarantees about the order in which it calls f(c)
Original file line number Diff line number Diff line change @@ -433,7 +433,7 @@ func Fields(s string) []string {
433
433
// FieldsFunc splits the string s at each run of Unicode code points c satisfying f(c)
434
434
// and returns an array of slices of s. If all code points in s satisfy f(c) or the
435
435
// string is empty, an empty slice is returned. Every element of the returned slice is
436
- // non-empty. Unlike [SplitFunc ], leading and trailing runs of code points satisfying f(c)
436
+ // non-empty. Unlike [Split ], leading and trailing runs of code points satisfying f(c)
437
437
// are discarded.
438
438
//
439
439
// FieldsFunc makes no guarantees about the order in which it calls f(c)
You can’t perform that action at this time.
0 commit comments