Skip to content

Commit db3e799

Browse files
committed
Fix typo in comment
1 parent 2dbddeb commit db3e799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ func (c *Conn) SetPingHandler(h func(string) error) {
801801
c.handlePing = h
802802
}
803803

804-
// SetPongHandler sets then handler for pong messages received from the peer.
804+
// SetPongHandler sets the handler for pong messages received from the peer.
805805
// The default pong handler does nothing.
806806
func (c *Conn) SetPongHandler(h func(string) error) {
807807
if h == nil {

0 commit comments

Comments
 (0)