]> Cypherpunks repositories - gostls13.git/commit
net/http: remove unused named return variables
authormattyw <gh@mattyw.net>
Thu, 28 Sep 2017 15:12:16 +0000 (11:12 -0400)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 2 Nov 2017 21:43:30 +0000 (21:43 +0000)
commit41d860cf0e7cb63003d55839b59949752b7fdecc
tree9f566b975e87aa7a729819230aea54be851d560d
parenta9a580690bafa85c225e3777cc7fc191000535fb
net/http: remove unused named return variables

The existing implementation names a c net.Conn return which is
never user. Leaving the returns unamed is marginally clearer.

Change-Id: If9a411c9235b78c116a8ffb21fef71f7a4a4ce8f
Reviewed-on: https://go-review.googlesource.com/66890
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/server.go