Skip to content

Commit aa4e0f5

Browse files
shota3506ianlancetaylor
authored andcommitted
net/http: correct capitalization in cancelTimeBody comment
Change-Id: I7acda22c01c5350ebf5ddabb1c12af96d368de5d GitHub-Last-Rev: 3e5c022 GitHub-Pull-Request: #47160 Reviewed-on: https://go-review.googlesource.com/c/go/+/334229 Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Cherry Mui <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]>
1 parent 0941dbc commit aa4e0f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ func (c *Client) CloseIdleConnections() {
951951
}
952952

953953
// cancelTimerBody is an io.ReadCloser that wraps rc with two features:
954-
// 1) on Read error or close, the stop func is called.
954+
// 1) On Read error or close, the stop func is called.
955955
// 2) On Read failure, if reqDidTimeout is true, the error is wrapped and
956956
// marked as net.Error that hit its timeout.
957957
type cancelTimerBody struct {

0 commit comments

Comments
 (0)