aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorAbirdcfly <fp544037857@gmail.com>2022-08-18 13:18:11 +0800
committerGopher Robot <gobot@golang.org>2022-08-18 13:54:47 +0000
commitd8f90ce0f8119bf593efb6fb91825de5b61fcda7 (patch)
treedcae46ed897b8af42ca26341a9c510329c4e6f3c /src/net/http
parent38edd9bd8da9d7fc7beeba5fd4fd9d605457b04e (diff)
downloadgo-d8f90ce0f8119bf593efb6fb91825de5b61fcda7.tar.xz
all: remove duplicate "the" words in comments
Following CL 424454, using command rg --multiline " the\s{1,}the " * rg --multiline " the\s{1,}//\s{1,}the " * all the words "the" that are repeated in comments are found. Change-Id: I60b769b98f04c927b4c228e10f37faf190964069 Reviewed-on: https://go-review.googlesource.com/c/go/+/423836 Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/httputil/reverseproxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/httputil/reverseproxy.go b/src/net/http/httputil/reverseproxy.go
index 11711e6f97..9ab7367eb2 100644
--- a/src/net/http/httputil/reverseproxy.go
+++ b/src/net/http/httputil/reverseproxy.go
@@ -112,7 +112,7 @@ type ReverseProxy struct {
// At most one of Rewrite or Director may be set.
Rewrite func(*ProxyRequest)
- // Director is a function which modifies the
+ // Director is a function which modifies
// the request into a new request to be sent
// using Transport. Its response is then copied
// back to the original client unmodified.