1
0
mirror of https://github.com/golang/go synced 2024-11-17 03:04:44 -07:00

all: remove duplicate word and fix comment

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>
This commit is contained in:
cui fliter 2023-07-12 19:11:05 +08:00 committed by Gopher Robot
parent 49d42128fd
commit 4a0f51696e
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ type peLoaderState struct {
var comdatDefinitions = make(map[string]int64) var comdatDefinitions = make(map[string]int64)
// Load loads the PE file pn from input. // 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. // and a slice of the text symbols is returned.
// If an .rsrc section or set of .rsrc$xx sections is found, its symbols are // If an .rsrc section or set of .rsrc$xx sections is found, its symbols are
// returned as rsrc. // returned as rsrc.

View File

@ -31,7 +31,7 @@ func errNoDeadline() error { return poll.ErrNoDeadline }
// errDeadlineExceeded returns the value for os.ErrDeadlineExceeded. // errDeadlineExceeded returns the value for os.ErrDeadlineExceeded.
// This error comes from the internal/poll package, which is also // 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, // package will return os.ErrDeadlineExceeded for an exceeded deadline,
// as documented by net.Conn.SetDeadline, without requiring any extra // as documented by net.Conn.SetDeadline, without requiring any extra
// work in the net package and without requiring the internal/poll // work in the net package and without requiring the internal/poll