mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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>
This commit is contained in:
parent
2469e92d8c
commit
10bfddc91d
3 changed files with 3 additions and 3 deletions
|
|
@ -30,7 +30,7 @@ v%.zip:
|
||||||
go run ../../src/cmd/go/internal/fips140/mkzip.go v$*
|
go run ../../src/cmd/go/internal/fips140/mkzip.go v$*
|
||||||
|
|
||||||
# normally mkzip refuses to overwrite an existing zip file.
|
# 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.
|
# copy from the module cache.
|
||||||
v%.rm:
|
v%.rm:
|
||||||
rm -f v$*.zip
|
rm -f v$*.zip
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ func TestCounterDataAppendSegment(t *testing.T) {
|
||||||
|
|
||||||
const numSegments = 2
|
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"}
|
args := map[string]string{"argc": "1", "argv0": "prog.exe"}
|
||||||
allfuncs := [][]decodecounter.FuncPayload{}
|
allfuncs := [][]decodecounter.FuncPayload{}
|
||||||
ctrs := []uint32{}
|
ctrs := []uint32{}
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ func readInterface(i int) (*Interface, error) {
|
||||||
fields := getFields(line)
|
fields := getFields(line)
|
||||||
|
|
||||||
// If the interface has no device file then we see two spaces between "device" and
|
// 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.
|
// Insert a gap for the missing device name.
|
||||||
// See https://go.dev/issue/72060.
|
// See https://go.dev/issue/72060.
|
||||||
if stringslite.HasPrefix(line, "device maxtu ") {
|
if stringslite.HasPrefix(line, "device maxtu ") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue