aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/internal/coverage/test/counter_test.go2
-rw-r--r--src/net/interface_plan9.go2
2 files changed, 2 insertions, 2 deletions
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 ") {