Skip to content

Commit fb4bf63

Browse files
authored
delete an unused type
1 parent 1e3230f commit fb4bf63

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

memcache/memcache.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,6 @@ func (cte *ConnectTimeoutError) Error() string {
255255
}
256256

257257
func (c *Client) dial(addr net.Addr) (net.Conn, error) {
258-
type connError struct {
259-
cn net.Conn
260-
err error
261-
}
262-
263258
nc, err := net.DialTimeout(addr.Network(), addr.String(), c.netTimeout())
264259
if err == nil {
265260
return nc, nil

0 commit comments

Comments
 (0)