]> Cypherpunks repositories - gostls13.git/commit
all: use sort.Slice where applicable
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Oct 2016 03:01:09 +0000 (03:01 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Oct 2016 05:10:56 +0000 (05:10 +0000)
commitad26bb5e3098cbfd7c0ad9a1dc9d38c92e50f06e
treeb84cfdbe334ab18e89b3c1099814f852f42b476b
parent2f184c65a5bdd422f88d841bb3a37fa60b3e1d52
all: use sort.Slice where applicable

I avoided anywhere in the compiler or things which might be used by
the compiler in the future, since they need to build with Go 1.4.

I also avoided anywhere where there was no benefit to changing it.

I probably missed some.

Updates #16721

Change-Id: Ib3c895ff475c6dec2d4322393faaf8cb6a6d4956
Reviewed-on: https://go-review.googlesource.com/30250
TryBot-Result: Gobot Gobot <gobot@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/test.go
src/cmd/nm/nm.go
src/encoding/json/encode.go
src/io/ioutil/ioutil.go
src/net/http/cookiejar/jar.go
src/net/http/fs.go
src/runtime/debug/garbage.go
src/runtime/pprof/pprof.go