]> Cypherpunks repositories - gostls13.git/commit
all: omit unnecessary reassignment
authorcuishuang <imcusg@gmail.com>
Fri, 10 Oct 2025 03:47:13 +0000 (11:47 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 10 Oct 2025 21:38:27 +0000 (14:38 -0700)
commit584a89fe7455470b09643b30bdc3cc55bb75a552
tree9966b2408323355a65ba9ef95018f6e3bfed86e6
parent69e82796322bbff60b522534a8a6eacb2bf1ebba
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>
src/encoding/base32/base32_test.go
src/encoding/xml/marshal_test.go
src/io/fs/readdir_test.go
src/testing/iotest/reader_test.go