]> Cypherpunks repositories - gostls13.git/commit
all: use sort.Slice in a few more places
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 12 Sep 2017 15:09:46 +0000 (17:09 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 22 Sep 2017 12:39:14 +0000 (12:39 +0000)
commit57e7d62455ae85a9d9471353286a7c640ecd0bc3
tree8d54af6482ae985b6e5925567e64f07bd594f197
parent67a0c783123556506d2a41ac6b512b00f855ea39
all: use sort.Slice in a few more places

Do the low-hanging fruit - tiny Less functions that are used exactly
once. This reduces the amount of code and puts the logic in a single
place.

Change-Id: I9d4544cd68de5a95e55019bdad1fca0a1dbfae9c
Reviewed-on: https://go-review.googlesource.com/63171
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/pprof/pprof.go
src/text/template/exec.go
src/time/genzabbrs.go
src/unicode/maketables.go