diff options
| author | cuishuang <imcusg@gmail.com> | 2025-09-14 11:13:55 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-09-15 17:31:59 -0700 |
| commit | 10bfddc91deac9d28817fca6ea0d2a0e520e9581 (patch) | |
| tree | 3b46f2ef6250aa99a9d9ef741824190ac2696d8c /src | |
| parent | 2469e92d8c49536617136f744c9767e14f6461d2 (diff) | |
| download | go-10bfddc91deac9d28817fca6ea0d2a0e520e9581.tar.xz | |
all: remove redundant words in comment
Change-Id: I8e6be76f24a7b1bb21cc244d5117fa60efff03b3
Reviewed-on: https://go-review.googlesource.com/c/go/+/703317
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Than McIntosh <thanm@golang.org>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Auto-Submit: Emmanuel Odeke <emmanuel@orijtech.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/internal/coverage/test/counter_test.go | 2 | ||||
| -rw-r--r-- | src/net/interface_plan9.go | 2 |
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 ") { |
