mirror of https://github.com/golang/go.git
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> |
||
|---|---|---|
| .. | ||
| a.go | ||
| a.go.golden | ||