]> Cypherpunks repositories - gostls13.git/commit
all: join a few chained ifs
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 5 Mar 2019 20:21:17 +0000 (20:21 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 5 Mar 2019 20:31:32 +0000 (20:31 +0000)
commit340129e4c8c56a371859b7434de89478610cab81
treeddb925e1793805a8de08091ce9dfc05fd5637bb3
parenta125bdb49b9aa96f3185ae4dfcc0f6d13b998724
all: join a few chained ifs

I had been finding these over a year or so, but none were big enough
changes to warrant CLs. They're a handful now, so clean them all up in a
single commit.

The smaller bodies get a bit simpler, but most importantly, the larger
bodies get unindented.

Change-Id: I5707a6fee27d4c9ff9efd3d363af575d7a4bf2aa
Reviewed-on: https://go-review.googlesource.com/c/go/+/165340
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/encoding/json/encode.go
src/net/http/server.go
src/runtime/chan.go
src/runtime/signal_amd64x.go
src/runtime/signal_unix.go
src/testing/testing.go