aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichaƂ Matczuk <mmatczuk@gmail.com>2023-03-23 13:52:59 +0000
committerGopher Robot <gobot@golang.org>2023-03-24 00:44:37 +0000
commitd633f4b996dadb6b72c2c43d35092738b7c19e7f (patch)
tree2fe575dcf4694a30b1a7613ef0e11fb7b3eb4fa4 /src
parente0c69587c4b7cfa7e6aada6f63c196d75588ddf5 (diff)
downloadgo-d633f4b996dadb6b72c2c43d35092738b7c19e7f.tar.xz
net/http: fix typo
Change-Id: I6e39f14df65685451d3d98c6def1e0665da20590 GitHub-Last-Rev: d9de237bd24ab3deebdbdf1f75a1835169670c1d GitHub-Pull-Request: golang/go#59200 Reviewed-on: https://go-review.googlesource.com/c/go/+/478855 Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Damien Neil <dneil@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Damien Neil <dneil@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/net/http/transport.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/transport.go b/src/net/http/transport.go
index 7561f7f5cb..807cc8f0eb 100644
--- a/src/net/http/transport.go
+++ b/src/net/http/transport.go
@@ -173,7 +173,7 @@ type Transport struct {
// If non-nil, HTTP/2 support may not be enabled by default.
TLSClientConfig *tls.Config
- // TLSHandshakeTimeout specifies the maximum amount of time waiting to
+ // TLSHandshakeTimeout specifies the maximum amount of time to
// wait for a TLS handshake. Zero means no timeout.
TLSHandshakeTimeout time.Duration