diff --git a/lib/fips140/Makefile b/lib/fips140/Makefile index 8dcb8fbebe5..e8fc82e08ae 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 e29baeddc0e..f7f74dc9edd 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 21d2f950401..93c783b56ee 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 ") {