tools: fix some typos
Change-Id: Iaad847631b9d5ee40558fcf9d51f4dfa99600e6b GitHub-Last-Rev: 6fcb64f8d9a093e7bd949e5d28bd1176c27005c0 GitHub-Pull-Request: golang/tools#372 Reviewed-on: https://go-review.googlesource.com/c/tools/+/389595 Run-TryBot: Ian Lance Taylor <iant@golang.org> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
parent
13320502f5
commit
9c4644e0f5
2 changed files with 3 additions and 3 deletions
|
|
@ -347,7 +347,7 @@ func (c *Connection) incomingResponse(msg *Response) {
|
|||
}
|
||||
}
|
||||
|
||||
// manageQueue reads incoming requests, attempts to proccess them with the preempter, or queue them
|
||||
// manageQueue reads incoming requests, attempts to process them with the preempter, or queue them
|
||||
// up for normal handling.
|
||||
func (c *Connection) manageQueue(ctx context.Context, preempter Preempter, fromRead <-chan *incoming, toDeliver chan<- *incoming) {
|
||||
defer close(toDeliver)
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ type NetListenOptions struct {
|
|||
NetDialer net.Dialer
|
||||
}
|
||||
|
||||
// NetListener returns a new Listener that listents on a socket using the net package.
|
||||
// NetListener returns a new Listener that listens on a socket using the net package.
|
||||
func NetListener(ctx context.Context, network, address string, options NetListenOptions) (Listener, error) {
|
||||
ln, err := options.NetListenConfig.Listen(ctx, network, address)
|
||||
if err != nil {
|
||||
|
|
@ -83,7 +83,7 @@ func (n *netDialer) Dial(ctx context.Context) (io.ReadWriteCloser, error) {
|
|||
// NetPipeListener returns a new Listener that listens using net.Pipe.
|
||||
// It is only possibly to connect to it using the Dialier returned by the
|
||||
// Dialer method, each call to that method will generate a new pipe the other
|
||||
// side of which will be returnd from the Accept call.
|
||||
// side of which will be returned from the Accept call.
|
||||
func NetPipeListener(ctx context.Context) (Listener, error) {
|
||||
return &netPiper{
|
||||
done: make(chan struct{}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue