1
0
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:
Taufiq Rahman 2018-12-29 21:55:50 +06:00 committed by GitHub
parent efbd01f1dc
commit 5eabcbd91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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