From 5be0dad1169ce56e9a21fa6beb9a1109f6d6aeb0 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 2 Apr 2013 12:12:16 -0700 Subject: [PATCH] net/http: remove useless named result arguments in type R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/8276043 --- src/pkg/net/http/transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/net/http/transport.go b/src/pkg/net/http/transport.go index c14ee3aa68..4cd0533ffc 100644 --- a/src/pkg/net/http/transport.go +++ b/src/pkg/net/http/transport.go @@ -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.