mirror of
https://github.com/golang/go
synced 2024-11-23 16:20:04 -07:00
fix typographical error in transport.go
This commit is contained in:
parent
efbd01f1dc
commit
5eabcbd91f
@ -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 {
|
|||||||
//
|
//
|
||||||
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user