From 9d31b8d2a78704c6a994508c29116342335b1a5c Mon Sep 17 00:00:00 2001 From: Anmol Sethi <hi@nhooyr.io> Date: Mon, 1 Jul 2019 10:56:23 -0400 Subject: [PATCH] Fix docs on NetConn --- netconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.go b/netconn.go index 184d5d6..3e43d90 100644 --- a/netconn.go +++ b/netconn.go @@ -17,7 +17,7 @@ import ( // When a deadline is hit, the connection will be closed. This is // different from most net.Conn implementations where only the // reading/writing goroutines are interrupted but the connection is kept alive. -// The Addr methods will return zero value net.TCPAddr. +// The Addr methods will return a mock net.Addr. func NetConn(c *Conn) net.Conn { nc := &netConn{ c: c, -- GitLab