Skip to content

Commit

Permalink
spelling on code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaldekloe committed Aug 16, 2024
1 parent 3530a9d commit c5b4876
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ type Client struct {
bufr *bufio.Reader // readConn buffered
peek []byte // pending slice from bufio.Reader

// Context is applied durring connect for faster aborts.
// Context is applied during connect for faster aborts.
ctx context.Context
cancel context.CancelFunc // Close may cancel the context

Expand Down Expand Up @@ -354,7 +354,7 @@ func (c *Client) Close() error {
// block connection control
conn, ok := <-c.connSem
if !ok {
// allready closed
// already closed
return nil
}
defer func() {
Expand Down

0 comments on commit c5b4876

Please sign in to comment.