Skip to content

Commit 3e5c022

Browse files
committed
net/http: correct capitalization in cancelTimeBody comment
1 parent a985897 commit 3e5c022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/client.go

Lines changed: 1 addition & 1 deletion
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)