Skip to content

Commit 2499683

Browse files
odeke-emadg
authored andcommitted
net/http/httputil: fix typos in deprecation comments
Fixes #15868 Change-Id: I4e4471e77091309c4ea1d546b2c4f20dfbb4314e Reviewed-on: https://go-review.googlesource.com/23550 Reviewed-by: Andrew Gerrand <[email protected]>
1 parent 795809b commit 2499683

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/net/http/httputil/persist.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ var (
2525
var errClosed = errors.New("i/o operation on closed connection")
2626

2727
// ServerConn is an artifact of Go's early HTTP implementation.
28-
// Is is low-level, old, and unused by Go's current HTTP stack.
28+
// It is low-level, old, and unused by Go's current HTTP stack.
2929
// We should have deleted it before Go 1.
3030
//
3131
// Deprecated: Use the Server in package net/http instead.
@@ -42,7 +42,7 @@ type ServerConn struct {
4242
}
4343

4444
// NewServerConn is an artifact of Go's early HTTP implementation.
45-
// Is is low-level, old, and unused by Go's current HTTP stack.
45+
// It is low-level, old, and unused by Go's current HTTP stack.
4646
// We should have deleted it before Go 1.
4747
//
4848
// Deprecated: Use the Server in package net/http instead.
@@ -218,7 +218,7 @@ func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
218218
}
219219

220220
// ClientConn is an artifact of Go's early HTTP implementation.
221-
// Is is low-level, old, and unused by Go's current HTTP stack.
221+
// It is low-level, old, and unused by Go's current HTTP stack.
222222
// We should have deleted it before Go 1.
223223
//
224224
// Deprecated: Use Client or Transport in package net/http instead.
@@ -236,7 +236,7 @@ type ClientConn struct {
236236
}
237237

238238
// NewClientConn is an artifact of Go's early HTTP implementation.
239-
// Is is low-level, old, and unused by Go's current HTTP stack.
239+
// It is low-level, old, and unused by Go's current HTTP stack.
240240
// We should have deleted it before Go 1.
241241
//
242242
// Deprecated: Use the Client or Transport in package net/http instead.
@@ -253,7 +253,7 @@ func NewClientConn(c net.Conn, r *bufio.Reader) *ClientConn {
253253
}
254254

255255
// NewProxyClientConn is an artifact of Go's early HTTP implementation.
256-
// Is is low-level, old, and unused by Go's current HTTP stack.
256+
// It is low-level, old, and unused by Go's current HTTP stack.
257257
// We should have deleted it before Go 1.
258258
//
259259
// Deprecated: Use the Client or Transport in package net/http instead.

0 commit comments

Comments
 (0)