]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix DialContext docs
authorFilippo Valsorda <filippo@golang.org>
Wed, 24 Jun 2020 18:29:20 +0000 (14:29 -0400)
committerFilippo Valsorda <filippo@golang.org>
Wed, 24 Jun 2020 20:17:05 +0000 (20:17 +0000)
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>
src/crypto/tls/tls.go

index 36d98d39eb60b986a7873554a7180254933be7ab..1c5173e281b09dc94e8afc667ae2060c617002da 100644 (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