diff options
| author | cuishuang <imcusg@gmail.com> | 2025-10-10 11:47:13 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-10-10 14:38:27 -0700 |
| commit | 584a89fe7455470b09643b30bdc3cc55bb75a552 (patch) | |
| tree | 9966b2408323355a65ba9ef95018f6e3bfed86e6 /src/encoding/base32 | |
| parent | 69e82796322bbff60b522534a8a6eacb2bf1ebba (diff) | |
| download | go-584a89fe7455470b09643b30bdc3cc55bb75a552.tar.xz | |
all: omit unnecessary reassignment
The new version of Go has been optimized, and variables do not need
to be reassigned.
Change-Id: I0374b049271e53510f2b162f6821fb3595f2c8ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/710835
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/encoding/base32')
| -rw-r--r-- | src/encoding/base32/base32_test.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/encoding/base32/base32_test.go b/src/encoding/base32/base32_test.go index f5d3c49e38..6f8d564def 100644 --- a/src/encoding/base32/base32_test.go +++ b/src/encoding/base32/base32_test.go @@ -709,7 +709,6 @@ func TestBufferedDecodingPadding(t *testing.T) { } for _, testcase := range testcases { - testcase := testcase pr, pw := io.Pipe() go func() { for _, chunk := range testcase.chunks { |
