net/http: correct capitalization in cancelTimeBody comment

This commit is contained in:
shota3506 2021-07-13 19:01:37 +09:00
parent a98589711d
commit 3e5c022f87

View 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 {