diff options
author | shota3506 <s.shota.710.3506@gmail.com> | 2021-07-13 21:27:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-07-16 02:43:48 +0000 |
commit | aa4e0f528e1e018e2847decb549cfc5ac07ecf20 (patch) | |
tree | 313a112b82b8acc1378856236c44010dc48afbba | |
parent | 0941dbca6ae805dd7b5f7871d5811b7b7f14f77f (diff) | |
download | go-aa4e0f528e1e018e2847decb549cfc5ac07ecf20.tar.gz go-aa4e0f528e1e018e2847decb549cfc5ac07ecf20.zip |
net/http: correct capitalization in cancelTimeBody comment
Change-Id: I7acda22c01c5350ebf5ddabb1c12af96d368de5d
GitHub-Last-Rev: 3e5c022f8764d4abf91c964ceb4fc0e01ebd1352
GitHub-Pull-Request: golang/go#47160
Reviewed-on: https://go-review.googlesource.com/c/go/+/334229
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | src/net/http/client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/client.go b/src/net/http/client.go index e0cabc9d4c..4d380c65db 100644 --- a/src/net/http/client.go +++ b/src/net/http/client.go @@ -951,7 +951,7 @@ func (c *Client) CloseIdleConnections() { } // cancelTimerBody is an io.ReadCloser that wraps rc with two features: -// 1) on Read error or close, the stop func is called. +// 1) On Read error or close, the stop func is called. // 2) On Read failure, if reqDidTimeout is true, the error is wrapped and // marked as net.Error that hit its timeout. type cancelTimerBody struct { |