]> Cypherpunks repositories - gostls13.git/commitdiff
all: remove duplicate word "the"
authorRyuma Yoshida <ryuma.y1117@gmail.com>
Tue, 20 Feb 2018 15:10:49 +0000 (15:10 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Feb 2018 16:45:55 +0000 (16:45 +0000)
Change-Id: Ia5908e94a6bd362099ca3c63f6ffb7e94457131d
GitHub-Last-Rev: 545a40571a912f433546d8c94a9d63459313515d
GitHub-Pull-Request: golang/go#23942
Reviewed-on: https://go-review.googlesource.com/95435
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/archive/tar/common.go
src/cmd/internal/objabi/reloctype.go
src/cmd/link/internal/ld/lib.go
src/database/sql/fakedb_test.go
src/database/sql/sql.go
src/encoding/xml/xml.go
src/go/printer/nodes.go
src/html/template/escape.go
src/runtime/mheap.go

index 89d1f38732b61b3f760458e1026a095a0b972d69..dee9e47e4ae486f8c3c29408cee63002916f849b 100644 (file)
@@ -187,7 +187,7 @@ type Header struct {
        // The key and value should be non-empty UTF-8 strings.
        //
        // When Writer.WriteHeader is called, PAX records derived from the
-       // the other fields in Header take precedence over PAXRecords.
+       // other fields in Header take precedence over PAXRecords.
        PAXRecords map[string]string
 
        // Format specifies the format of the tar header.
index fb3cae45fce3fab07621251bcf87bbab8dab45f4..ac96b3a71b6d1c3f86ca7fb8b176a5c28c1d6b4b 100644 (file)
@@ -167,7 +167,7 @@ const (
 
        // R_ADDRPOWER_PCREL relocates two D-form instructions like R_ADDRPOWER, but
        // inserts the displacement from the place being relocated to the address of the
-       // the relocated symbol instead of just its address.
+       // relocated symbol instead of just its address.
        R_ADDRPOWER_PCREL
 
        // R_ADDRPOWER_TOCREL relocates two D-form instructions like R_ADDRPOWER, but
index bfff5209a6b779638af33816982cebe0311596b2..030491a5501cf52b2afd7646645227ffcc141094 100644 (file)
@@ -583,7 +583,7 @@ func (ctxt *Link) loadlib() {
        }
 
        // If package versioning is required, generate a hash of the
-       // the packages used in the link.
+       // packages used in the link.
        if ctxt.BuildMode == BuildModeShared || ctxt.BuildMode == BuildModePlugin || ctxt.CanUsePlugins() {
                for _, lib := range ctxt.Library {
                        if lib.Shlib == "" {
index abb8d40fc022ed5c492e2709bdd1ec82b8fcccac..fd093f77e1f047a6a482ade578e7bc79810cbd2a 100644 (file)
@@ -1003,7 +1003,7 @@ type rowsCursor struct {
        err    error
 
        // a clone of slices to give out to clients, indexed by the
-       // the original slice's first byte address.  we clone them
+       // original slice's first byte address.  we clone them
        // just so we're able to corrupt them on close.
        bytesClone map[*byte][]byte
 
index 5d62eb2b53c53e6e27d505291659d57741048615..5956d6ad46d7d553dc0cc02a272fda236831d8b1 100644 (file)
@@ -2310,7 +2310,7 @@ func (s *Stmt) connStmt(ctx context.Context, strategy connReuseStrategy) (dc *dr
        }
 
        // In a transaction or connection, we always use the connection that the
-       // the stmt was created on.
+       // stmt was created on.
        if s.cg != nil {
                s.mu.Unlock()
                dc, releaseConn, err = s.cg.grabConn(ctx) // blocks, waiting for the connection.
index b379544dab03a8e43830d58d58068c500e6d3d23..5a51d4c97979715827a4c4e2e0812fb7dd10bbae 100644 (file)
@@ -198,7 +198,7 @@ type Decoder struct {
        // charset-conversion readers, converting from the provided
        // non-UTF-8 charset into UTF-8. If CharsetReader is nil or
        // returns an error, parsing stops with an error. One of the
-       // the CharsetReader's result values must be non-nil.
+       // CharsetReader's result values must be non-nil.
        CharsetReader func(charset string, input io.Reader) (io.Reader, error)
 
        // DefaultSpace sets the default name space used for unadorned tags,
index 3e2ff4f5ae3365526820379f9c8552b5b241ce1e..9f6bb4da23330d197241ef09409f24a5141aea4b 100644 (file)
@@ -197,7 +197,7 @@ func (p *printer) exprList(prev0 token.Pos, list []ast.Expr, depth int, mode exp
 
                // if the previous line and the current line had single-
                // line-expressions and the key sizes are small or the
-               // the ratio between the key sizes does not exceed a
+               // ratio between the key sizes does not exceed a
                // threshold, align columns and do not use formfeed
                if prevSize > 0 && size > 0 {
                        const smallSize = 20
index c77b23ae687829bb2b3d92058d4e60de92fef8b9..aaeb2d6bc1f8d57d3c7d1e12e392825f7fb057b9 100644 (file)
@@ -417,7 +417,7 @@ func nudge(c context) context {
 
 // join joins the two contexts of a branch template node. The result is an
 // error context if either of the input contexts are error contexts, or if the
-// the input contexts differ.
+// input contexts differ.
 func join(a, b context, node parse.Node, nodeName string) context {
        if a.state == stateError {
                return a
index 8b2ed15dd91eefa5a868ac01efc9e9ed9abcfbec..30df753c86bebbce9b7f9db4611320fe33ef24fd 100644 (file)
@@ -1546,7 +1546,7 @@ func newMarkBits(nelems uintptr) *gcBits {
 // to be used for this span's alloc bits.
 // newAllocBits is used to provide newly initialized spans
 // allocation bits. For spans not being initialized the
-// the mark bits are repurposed as allocation bits when
+// mark bits are repurposed as allocation bits when
 // the span is swept.
 func newAllocBits(nelems uintptr) *gcBits {
        return newMarkBits(nelems)