]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: fix typographical error in transport.go
authorTaufiq Rahman <taufiqrx8@gmail.com>
Sat, 29 Dec 2018 16:18:11 +0000 (16:18 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 29 Dec 2018 17:24:26 +0000 (17:24 +0000)
Change-Id: I5f9de0daa3c18ecd7d6cd30ea13d147e227b3550
GitHub-Last-Rev: 5eabcbd91f8988c8f74f5bd11fb0e79cb85a9451
GitHub-Pull-Request: golang/go#29454
Reviewed-on: https://go-review.googlesource.com/c/155920
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/http/transport.go

index 44d27d05c2f1d07537cef05cc1e9a0cecf5382cd..a8c5efe6aaff2918498b0aa2f43d9c5adb91bd64 100644 (file)
@@ -134,7 +134,7 @@ type Transport struct {
        //
        // DialContext runs concurrently with calls to RoundTrip.
        // 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.
        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.
        // 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.
        //
        // Deprecated: Use DialContext instead, which allows the transport