]> Cypherpunks repositories - gostls13.git/commitdiff
all: remove duplicate word and fix comment
authorcui fliter <imcusg@gmail.com>
Wed, 12 Jul 2023 11:11:05 +0000 (19:11 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 13 Jul 2023 13:31:04 +0000 (13:31 +0000)
Change-Id: I3302b94a47f384ec2519d08af50b3b5725c5b42a
Reviewed-on: https://go-review.googlesource.com/c/go/+/508995
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>

src/cmd/link/internal/loadpe/ldpe.go
src/os/error.go

index 0a610ff048328d57558aa8243d21435002964dec..81c28415a2c21d2d70dbdb9821234a1dd70f82fb 100644 (file)
@@ -222,7 +222,7 @@ type peLoaderState struct {
 var comdatDefinitions = make(map[string]int64)
 
 // Load loads the PE file pn from input.
-// Symbols from the object file are created via the loader 'l', and
+// Symbols from the object file are created via the loader 'l',
 // and a slice of the text symbols is returned.
 // If an .rsrc section or set of .rsrc$xx sections is found, its symbols are
 // returned as rsrc.
index 9827446e65c060a6509ef0f66fd2d307ca85343c..62ede9ded3bcec749b9ccd9978b86af0a1e69604 100644 (file)
@@ -31,7 +31,7 @@ func errNoDeadline() error { return poll.ErrNoDeadline }
 
 // errDeadlineExceeded returns the value for os.ErrDeadlineExceeded.
 // This error comes from the internal/poll package, which is also
-// used by package net. Doing this this way ensures that the net
+// used by package net. Doing it this way ensures that the net
 // package will return os.ErrDeadlineExceeded for an exceeded deadline,
 // as documented by net.Conn.SetDeadline, without requiring any extra
 // work in the net package and without requiring the internal/poll