From 3c6fec86e30a28b3a773d1b972ca8bc8c3c90c30 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Wed, 24 Jun 2020 14:29:20 -0400 Subject: [PATCH] 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 --- src/crypto/tls/tls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0