cmd/gofmt: fix gofmt -s for 3-index slices
3-index slices of the form s[:len(s):len(s)] cannot be simplified to s[::len(s)]. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/108330043
Showing
Please
register
or
sign in
to comment