]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: remove useless named result arguments in type
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Apr 2013 19:12:16 +0000 (12:12 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 2 Apr 2013 19:12:16 +0000 (12:12 -0700)
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/8276043

src/pkg/net/http/transport.go

index c14ee3aa68ea009bec8d009cd4f2456ca1c17307..4cd0533ffc26c3fdeeb30a57810b8e0938550495 100644 (file)
@@ -58,7 +58,7 @@ type Transport struct {
        // Dial specifies the dial function for creating TCP
        // connections.
        // If Dial is nil, net.Dial is used.
-       Dial func(net, addr string) (c net.Conn, err error)
+       Dial func(network, addr string) (net.Conn, error)
 
        // TLSClientConfig specifies the TLS configuration to use with
        // tls.Client. If nil, the default configuration is used.