Skip to content

Commit b4e4f4f

Browse files
committed
Don't embed noCopy...
Whoops.
1 parent 84d7ddc commit b4e4f4f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343
// This applies to context expirations as well unfortunately.
4444
// See https://github.com/nhooyr/websocket/issues/242#issuecomment-633182220
4545
type Conn struct {
46-
noCopy
46+
noCopy noCopy
4747

4848
subprotocol string
4949
rwc io.ReadWriteCloser

ws_js.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const (
4141

4242
// Conn provides a wrapper around the browser WebSocket API.
4343
type Conn struct {
44-
noCopy
44+
noCopy noCopy
4545
ws wsjs.WebSocket
4646

4747
// read limit for a message in bytes.

0 commit comments

Comments
 (0)