From 48da729e8468b630ee003ac51cbaac595d53bec8 Mon Sep 17 00:00:00 2001 From: Abirdcfly Date: Wed, 17 Aug 2022 09:54:14 +0000 Subject: [PATCH] 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 TryBot-Result: Gopher Robot Reviewed-by: Damien Neil Run-TryBot: hopehook Reviewed-by: Joedian Reid --- src/net/http/cookiejar/jar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.48.1