aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Odeke <emm.odeke@gmail.com>2016-05-28 02:33:23 -0600
committerAndrew Gerrand <adg@golang.org>2016-05-28 23:44:32 +0000
commit24996832c68b9d0aa4cd0e51189d148aae7a2772 (patch)
tree59f039bfc7b0ce79cd906da11926008a9f09b99e
parent795809b5c7d7e281e392399b9a366cbe92aa9e98 (diff)
downloadgo-24996832c68b9d0aa4cd0e51189d148aae7a2772.tar.gz
go-24996832c68b9d0aa4cd0e51189d148aae7a2772.zip
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 <adg@golang.org>
-rw-r--r--src/net/http/httputil/persist.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/http/httputil/persist.go b/src/net/http/httputil/persist.go
index 51486e78e2..87ddd52cd9 100644
--- a/src/net/http/httputil/persist.go
+++ b/src/net/http/httputil/persist.go
@@ -25,7 +25,7 @@ var (
var errClosed = errors.New("i/o operation on closed connection")
// ServerConn is an artifact of Go's early HTTP implementation.
-// Is is low-level, old, and unused by Go's current HTTP stack.
+// It is low-level, old, and unused by Go's current HTTP stack.
// We should have deleted it before Go 1.
//
// Deprecated: Use the Server in package net/http instead.
@@ -42,7 +42,7 @@ type ServerConn struct {
}
// NewServerConn is an artifact of Go's early HTTP implementation.
-// Is is low-level, old, and unused by Go's current HTTP stack.
+// It is low-level, old, and unused by Go's current HTTP stack.
// We should have deleted it before Go 1.
//
// Deprecated: Use the Server in package net/http instead.
@@ -218,7 +218,7 @@ func (sc *ServerConn) Write(req *http.Request, resp *http.Response) error {
}
// ClientConn is an artifact of Go's early HTTP implementation.
-// Is is low-level, old, and unused by Go's current HTTP stack.
+// It is low-level, old, and unused by Go's current HTTP stack.
// We should have deleted it before Go 1.
//
// Deprecated: Use Client or Transport in package net/http instead.
@@ -236,7 +236,7 @@ type ClientConn struct {
}
// NewClientConn is an artifact of Go's early HTTP implementation.
-// Is is low-level, old, and unused by Go's current HTTP stack.
+// It is low-level, old, and unused by Go's current HTTP stack.
// We should have deleted it before Go 1.
//
// Deprecated: Use the Client or Transport in package net/http instead.
@@ -253,7 +253,7 @@ func NewClientConn(c net.Conn, r *bufio.Reader) *ClientConn {
}
// NewProxyClientConn is an artifact of Go's early HTTP implementation.
-// Is is low-level, old, and unused by Go's current HTTP stack.
+// It is low-level, old, and unused by Go's current HTTP stack.
// We should have deleted it before Go 1.
//
// Deprecated: Use the Client or Transport in package net/http instead.