go/src/strings
Jes Cok 3c05790d48 bytes,strings: remove redundant return statement for Lines
To make it more idiomatic.

Change-Id: If48ae9931908e515df7f23185aac6f84aac72084
GitHub-Last-Rev: 525ed5031a
GitHub-Pull-Request: golang/go#71838
Reviewed-on: https://go-review.googlesource.com/c/go/+/650595
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Commit-Queue: Robert Griesemer <gri@google.com>
2025-02-19 10:22:08 -08:00
..
builder.go cmd/compile: don't inline runtime functions in -d=checkptr build 2024-07-22 15:45:09 +00:00
builder_test.go all: skip and fix various tests with -asan and -msan 2024-10-28 21:04:51 +00:00
clone.go strings: move Clone to stringslite 2024-05-04 01:23:42 +00:00
clone_test.go strings: remove redundant symbols 2023-01-17 17:24:17 +00:00
compare.go strings: more cross-references in docstrings 2024-07-11 15:01:18 +00:00
compare_test.go
example_test.go strings: add examples for Lines, SplitSeq, SplitAfterSeq, FieldsSeq and FieldsFuncSeq 2025-02-10 21:47:04 -08:00
export_test.go
iter.go bytes,strings: remove redundant return statement for Lines 2025-02-19 10:22:08 -08:00
reader.go bytes,strings: add available godoc link 2023-10-13 17:10:31 +00:00
reader_test.go
replace.go strings: more cross-references in docstrings 2024-07-11 15:01:18 +00:00
replace_test.go
search.go strings: use the builtin max function 2023-08-07 18:49:51 +00:00
search_test.go bytes,strings,unicode/utf16: use slices to clean up tests 2024-07-24 18:45:08 +00:00
strings.go byte,strings: improve IndexRune performance by ~45% 2024-08-14 18:25:29 +00:00
strings_test.go all: remove duplicated words in comments 2024-08-19 19:09:04 +00:00