1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:50:12 -07:00

crypto/tls: fix DialContext docs

Change-Id: I58e3febbf63049bebb4f8ed8893288183c8aaccd
Reviewed-on: https://go-review.googlesource.com/c/go/+/239745
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
This commit is contained in:
Filippo Valsorda 2020-06-24 14:29:20 -04:00
parent 72019cf312
commit 3c6fec86e3

View File

@ -235,7 +235,7 @@ func (d *Dialer) netDialer() *net.Dialer {
return new(net.Dialer)
}
// Dial connects to the given network address and initiates a TLS
// DialContext connects to the given network address and initiates a TLS
// handshake, returning the resulting TLS connection.
//
// The provided Context must be non-nil. If the context expires before