diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2025-02-19 15:07:53 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-19 10:22:08 -0800 |
| commit | 3c05790d4847ba2d0d06b5ba3f82b311a99d531c (patch) | |
| tree | 718f75b504517f11a250dcf56722e1297098db69 /src/bytes | |
| parent | 6e0a81ac6149e28f75f4e61bd375c4fc426280df (diff) | |
| download | go-3c05790d4847ba2d0d06b5ba3f82b311a99d531c.tar.xz | |
bytes,strings: remove redundant return statement for Lines
To make it more idiomatic.
Change-Id: If48ae9931908e515df7f23185aac6f84aac72084
GitHub-Last-Rev: 525ed5031a08388f637bd2a09bd47c9e25df21f1
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>
Diffstat (limited to 'src/bytes')
| -rw-r--r-- | src/bytes/iter.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bytes/iter.go b/src/bytes/iter.go index 799602d9e3..8e9ee8b98d 100644 --- a/src/bytes/iter.go +++ b/src/bytes/iter.go @@ -28,7 +28,6 @@ func Lines(s []byte) iter.Seq[[]byte] { return } } - return } } |
