go/src/bytes
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
..
boundary_test.go bytes: add a boundary test for Count of 1 byte 2023-11-30 20:05:58 +00:00
buffer.go strings,bytes: use result of copy in subsequent slicing 2024-10-29 16:47:05 +00:00
buffer_test.go all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
bytes.go all: omit unnecessary 0 in slice expression 2024-09-03 20:55:15 +00:00
bytes_js_wasm_test.go internal/bytealg: extend memchr result correctly on wasm 2024-07-17 07:00:20 +00:00
bytes_test.go all: remove duplicated words in comments 2024-08-19 19:09:04 +00:00
compare_test.go bytes: remove builders check from compare test 2023-07-13 23:11:42 +00:00
example_test.go bytes: add examples for Lines, SplitSeq, SplitAfterSeq, FieldsSeq and FieldsFuncSeq 2025-02-14 15:18:41 -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: more cross-references in docstrings 2024-07-16 18:17:37 +00:00
reader_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00