From: shota3506 Date: Tue, 13 Jul 2021 21:27:05 +0000 (+0000) Subject: net/http: correct capitalization in cancelTimeBody comment X-Git-Tag: go1.17rc2~1^2~30 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aa4e0f528e1e018e2847decb549cfc5ac07ecf20;p=gostls13.git 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 Trust: Cherry Mui Run-TryBot: Ian Lance Taylor --- 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 {