aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/api
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2023-09-07 10:29:14 +0100
committerDaniel Martí <mvdan@mvdan.cc>2023-09-07 19:38:51 +0000
commit65f245af49995becc2d5321eb3e97a243d647e1f (patch)
tree736da221d3df81acc50c682b3ccddc7ced0b6930 /src/cmd/api
parentd80f3966b8b5b2a6e606b416fe80dffeb810ab68 (diff)
downloadgo-65f245af49995becc2d5321eb3e97a243d647e1f.tar.xz
encoding/xml: use reflect.Value.Bytes on addressable arrays
Since #47066 was accepted and implemented, reflect.Value.Bytes can be called directly on addressable arrays, so there is no longer a need to go through a slice first. Change-Id: I04d50ddb1b38e7a37fee3dc8be1bd03b22a06a1c Reviewed-on: https://go-review.googlesource.com/c/go/+/526357 Reviewed-by: Joseph Tsai <joetsai@digital-static.net> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/api')
0 files changed, 0 insertions, 0 deletions