Skip to content

Commit d8f90ce

Browse files
Abirdcflygopherbot
authored andcommitted
all: remove duplicate "the" words in comments
Following CL 424454, using command rg --multiline " the\s{1,}the " * rg --multiline " the\s{1,}//\s{1,}the " * all the words "the" that are repeated in comments are found. Change-Id: I60b769b98f04c927b4c228e10f37faf190964069 Reviewed-on: https://go-review.googlesource.com/c/go/+/423836 Auto-Submit: Filippo Valsorda <[email protected]> Reviewed-by: Than McIntosh <[email protected]> Run-TryBot: Filippo Valsorda <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]>
1 parent 38edd9b commit d8f90ce

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/cmd/compile/internal/ssa/schedule.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func schedule(f *Func) {
179179
// scored CarryChainTail (and prove w is not a tail).
180180
score[w.ID] = ScoreFlags
181181
}
182-
// Verify v has not been scored. If v has not been visited, v may be the
182+
// Verify v has not been scored. If v has not been visited, v may be
183183
// the final (tail) operation in a carry chain. If v is not, v will be
184184
// rescored above when v's carry-using op is scored. When scoring is done,
185185
// only tail operations will retain the CarryChainTail score.

src/cmd/internal/obj/ppc64/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ greater than the max then the assembler sets it to the max for that size (31 for
198198
32 bit values, 63 for 64 bit values). If the shift count is in a register, then
199199
only the low 5 or 6 bits of the register will be used as the shift count. The
200200
Go compiler will add appropriate code to compare the shift value to achieve the
201-
the correct result, and the assembler does not add extra checking.
201+
correct result, and the assembler does not add extra checking.
202202
203203
Examples:
204204

src/cmd/link/internal/ld/outbuf_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func (out *OutBuf) fallocate(size uint64) error {
2424
}
2525
// F_PEOFPOSMODE allocates from the end of the file, so we want the size difference.
2626
// Apparently, it uses the end of the allocation, instead of the logical end of the
27-
// the file.
27+
// file.
2828
cursize := uint64(stat.Sys().(*syscall.Stat_t).Blocks * 512) // allocated size
2929
if size <= cursize {
3030
return nil

src/crypto/tls/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ type Config struct {
725725

726726
// mutex protects sessionTicketKeys and autoSessionTicketKeys.
727727
mutex sync.RWMutex
728-
// sessionTicketKeys contains zero or more ticket keys. If set, it means the
728+
// sessionTicketKeys contains zero or more ticket keys. If set, it means
729729
// the keys were set with SessionTicketKey or SetSessionTicketKeys. The
730730
// first key is used for new tickets and any subsequent keys can be used to
731731
// decrypt old tickets. The slice contents are not protected by the mutex

src/net/http/httputil/reverseproxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ type ReverseProxy struct {
112112
// At most one of Rewrite or Director may be set.
113113
Rewrite func(*ProxyRequest)
114114

115-
// Director is a function which modifies the
115+
// Director is a function which modifies
116116
// the request into a new request to be sent
117117
// using Transport. Its response is then copied
118118
// back to the original client unmodified.

0 commit comments

Comments
 (0)