diff --git a/conn.go b/conn.go index e133cd67..ef4d62ad 100644 --- a/conn.go +++ b/conn.go @@ -43,7 +43,7 @@ const ( // This applies to context expirations as well unfortunately. // See https://github.com/nhooyr/websocket/issues/242#issuecomment-633182220 type Conn struct { - noCopy + noCopy noCopy subprotocol string rwc io.ReadWriteCloser diff --git a/ws_js.go b/ws_js.go index b4011b5c..cf119da7 100644 --- a/ws_js.go +++ b/ws_js.go @@ -41,7 +41,7 @@ const ( // Conn provides a wrapper around the browser WebSocket API. type Conn struct { - noCopy + noCopy noCopy ws wsjs.WebSocket // read limit for a message in bytes.