Skip to content

Commit 3c6fec8

Browse files
committed
crypto/tls: fix DialContext docs
Change-Id: I58e3febbf63049bebb4f8ed8893288183c8aaccd Reviewed-on: https://go-review.googlesource.com/c/go/+/239745 Run-TryBot: Filippo Valsorda <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Katie Hockman <[email protected]>
1 parent 72019cf commit 3c6fec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/tls/tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (d *Dialer) netDialer() *net.Dialer {
235235
return new(net.Dialer)
236236
}
237237

238-
// Dial connects to the given network address and initiates a TLS
238+
// DialContext connects to the given network address and initiates a TLS
239239
// handshake, returning the resulting TLS connection.
240240
//
241241
// The provided Context must be non-nil. If the context expires before

0 commit comments

Comments
 (0)