Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 1 deletion
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+
noCopynoCopy
4747

4848
subprotocol string
4949
rwc io.ReadWriteCloser

‎ws_js.go

Lines changed: 1 addition & 1 deletion
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+
noCopynoCopy
4545
ws wsjs.WebSocket
4646

4747
// read limit for a message in bytes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /