mirror of
https://github.com/golang/go
synced 2024-11-18 10:54:40 -07:00
e428a8eca3
This is one of the simplifications that "gofmt -s" applies. https://golang.org/cmd/gofmt/#hdr-The_simplify_command An array, slice, or map composite literal of the form: []T{T{}, T{}} will be simplified to: []T{{}, {}} Updates golang/go#37221 Change-Id: I2dca46501983c8af3581c9319d973da5cf690388 Reviewed-on: https://go-review.googlesource.com/c/tools/+/223660 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gocommand | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
packagesinternal | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |