Skip to content

Commit e14c100

Browse files
committed
Update comment on unexported js reader method
1 parent 09910a2 commit e14c100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

websocket_js.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ func (c *Conn) Reader(ctx context.Context) (MessageType, io.Reader, error) {
291291
return typ, bytes.NewReader(p), nil
292292
}
293293

294-
// Only implemented for use by *Conn.CloseRead in netconn.go
294+
// Only implemented for use by *Conn.CloseRead in conn_common.go
295295
func (c *Conn) reader(ctx context.Context, _ bool) {
296296
c.read(ctx)
297297
}

0 commit comments

Comments
 (0)