aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
authorAbirdcfly <fp544037857@gmail.com>2022-08-17 09:54:14 +0000
committerDamien Neil <dneil@google.com>2022-08-22 20:34:19 +0000
commit48da729e8468b630ee003ac51cbaac595d53bec8 (patch)
tree2780d149b4dc705f607b14d8a3302e7458bf098e /src/net/http
parent7f1037c717858439a9d75d6f62c98c835fc72a74 (diff)
downloadgo-48da729e8468b630ee003ac51cbaac595d53bec8.tar.xz
net/http/cookiejar: remove duplicate words from comments
Change-Id: Id44f587199683fd8018865af1c2442f9f74e0dad GitHub-Last-Rev: 35b1ab88677586c79918d363f22e05bc0c3c6479 GitHub-Pull-Request: golang/go#54495 Reviewed-on: https://go-review.googlesource.com/c/go/+/424434 Reviewed-by: hopehook <hopehook@qq.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: hopehook <hopehook@qq.com> Reviewed-by: Joedian Reid <joedian@golang.org>
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/cookiejar/jar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/cookiejar/jar.go b/src/net/http/cookiejar/jar.go
index 87c38ceba9..097c93a137 100644
--- a/src/net/http/cookiejar/jar.go
+++ b/src/net/http/cookiejar/jar.go
@@ -465,7 +465,7 @@ func (j *Jar) domainAndType(host, domain string) (string, bool, error) {
// dot in the domain-attribute before processing the cookie.
//
// Most browsers don't do that for IP addresses, only curl
- // version 7.54) and and IE (version 11) do not reject a
+ // version 7.54) and IE (version 11) do not reject a
// Set-Cookie: a=1; domain=.127.0.0.1
// This leading dot is optional and serves only as hint for
// humans to indicate that a cookie with "domain=.bbc.co.uk"