]> Cypherpunks repositories - gostls13.git/commitdiff
net/http: correct capitalization in cancelTimeBody comment
authorshota3506 <s.shota.710.3506@gmail.com>
Tue, 13 Jul 2021 21:27:05 +0000 (21:27 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 16 Jul 2021 02:43:48 +0000 (02:43 +0000)
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>

src/net/http/client.go

index e0cabc9d4cf38143fdf5b406b1e5707a4ea4a5bf..4d380c65db983672ea22974c1be303c2f8065c41 100644 (file)
@@ -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 {