From: Filippo Valsorda Date: Wed, 24 Jun 2020 18:29:20 +0000 (-0400) Subject: crypto/tls: fix DialContext docs X-Git-Tag: go1.15rc1~68 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c6fec86e30a28b3a773d1b972ca8bc8c3c90c30;p=gostls13.git crypto/tls: fix DialContext docs Change-Id: I58e3febbf63049bebb4f8ed8893288183c8aaccd Reviewed-on: https://go-review.googlesource.com/c/go/+/239745 Run-TryBot: Filippo Valsorda TryBot-Result: Gobot Gobot Reviewed-by: Katie Hockman --- diff --git a/src/crypto/tls/tls.go b/src/crypto/tls/tls.go index 36d98d39eb..1c5173e281 100644 --- a/src/crypto/tls/tls.go +++ b/src/crypto/tls/tls.go @@ -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