From 10bfddc91deac9d28817fca6ea0d2a0e520e9581 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Sun, 14 Sep 2025 11:13:55 +0800 Subject: [PATCH] all: remove redundant words in comment Change-Id: I8e6be76f24a7b1bb21cc244d5117fa60efff03b3 Reviewed-on: https://go-review.googlesource.com/c/go/+/703317 LUCI-TryBot-Result: Go LUCI Auto-Submit: Sean Liao Reviewed-by: Than McIntosh Reviewed-by: Michael Knyszek Reviewed-by: Mark Freeman Reviewed-by: Sean Liao Auto-Submit: Emmanuel Odeke --- lib/fips140/Makefile | 2 +- src/internal/coverage/test/counter_test.go | 2 +- src/net/interface_plan9.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fips140/Makefile b/lib/fips140/Makefile index 8dcb8fbebe..e8fc82e08a 100644 --- a/lib/fips140/Makefile +++ b/lib/fips140/Makefile @@ -30,7 +30,7 @@ v%.zip: go run ../../src/cmd/go/internal/fips140/mkzip.go v$* # normally mkzip refuses to overwrite an existing zip file. -# make v1.2.3.rm removes the zip file and and unpacked +# make v1.2.3.rm removes the zip file and unpacked # copy from the module cache. v%.rm: rm -f v$*.zip diff --git a/src/internal/coverage/test/counter_test.go b/src/internal/coverage/test/counter_test.go index e29baeddc0..f7f74dc9ed 100644 --- a/src/internal/coverage/test/counter_test.go +++ b/src/internal/coverage/test/counter_test.go @@ -141,7 +141,7 @@ func TestCounterDataAppendSegment(t *testing.T) { const numSegments = 2 - // Write a counter with with multiple segments. + // Write a counter with multiple segments. args := map[string]string{"argc": "1", "argv0": "prog.exe"} allfuncs := [][]decodecounter.FuncPayload{} ctrs := []uint32{} diff --git a/src/net/interface_plan9.go b/src/net/interface_plan9.go index 21d2f95040..93c783b56e 100644 --- a/src/net/interface_plan9.go +++ b/src/net/interface_plan9.go @@ -59,7 +59,7 @@ func readInterface(i int) (*Interface, error) { fields := getFields(line) // If the interface has no device file then we see two spaces between "device" and - // "maxtu" and and getFields treats the two spaces as one delimiter. + // "maxtu" and getFields treats the two spaces as one delimiter. // Insert a gap for the missing device name. // See https://go.dev/issue/72060. if stringslite.HasPrefix(line, "device maxtu ") { -- 2.52.0