Skip to content

Commit

Permalink
delete an unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
sshaplygin authored Jan 6, 2022
1 parent 1e3230f commit fb4bf63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions memcache/memcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,6 @@ func (cte *ConnectTimeoutError) Error() string {
}

func (c *Client) dial(addr net.Addr) (net.Conn, error) {
type connError struct {
cn net.Conn
err error
}

nc, err := net.DialTimeout(addr.Network(), addr.String(), c.netTimeout())
if err == nil {
return nc, nil
Expand Down

0 comments on commit fb4bf63

Please sign in to comment.