Skip to content

Commit 9d31b8d

Browse files
committed
Fix docs on NetConn
1 parent 2e4b110 commit 9d31b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netconn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
// When a deadline is hit, the connection will be closed. This is
1818
// different from most net.Conn implementations where only the
1919
// reading/writing goroutines are interrupted but the connection is kept alive.
20-
// The Addr methods will return zero value net.TCPAddr.
20+
// The Addr methods will return a mock net.Addr.
2121
func NetConn(c *Conn) net.Conn {
2222
nc := &netConn{
2323
c: c,

0 commit comments

Comments
 (0)