Commit 58a17b43 authored by Taufiq Rahman's avatar Taufiq Rahman Committed by Brad Fitzpatrick

net/http: fix typographical error in transport.go

Change-Id: I5f9de0daa3c18ecd7d6cd30ea13d147e227b3550
GitHub-Last-Rev: 5eabcbd91f8988c8f74f5bd11fb0e79cb85a9451
GitHub-Pull-Request: golang/go#29454
Reviewed-on: https://go-review.googlesource.com/c/155920Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent efbd01f1
...@@ -134,7 +134,7 @@ type Transport struct { ...@@ -134,7 +134,7 @@ type Transport struct {
// //
// DialContext runs concurrently with calls to RoundTrip. // DialContext runs concurrently with calls to RoundTrip.
// A RoundTrip call that initiates a dial may end up using // A RoundTrip call that initiates a dial may end up using
// an connection dialed previously when the earlier connection // a connection dialed previously when the earlier connection
// becomes idle before the later DialContext completes. // becomes idle before the later DialContext completes.
DialContext func(ctx context.Context, network, addr string) (net.Conn, error) DialContext func(ctx context.Context, network, addr string) (net.Conn, error)
...@@ -142,7 +142,7 @@ type Transport struct { ...@@ -142,7 +142,7 @@ type Transport struct {
// //
// Dial runs concurrently with calls to RoundTrip. // Dial runs concurrently with calls to RoundTrip.
// A RoundTrip call that initiates a dial may end up using // A RoundTrip call that initiates a dial may end up using
// an connection dialed previously when the earlier connection // a connection dialed previously when the earlier connection
// becomes idle before the later Dial completes. // becomes idle before the later Dial completes.
// //
// Deprecated: Use DialContext instead, which allows the transport // Deprecated: Use DialContext instead, which allows the transport
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment