Przeglądaj źródła

Fix typo in comment

Jie Li 10 lat temu
rodzic
commit
db3e79986d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      conn.go

+ 1 - 1
conn.go

@@ -801,7 +801,7 @@ func (c *Conn) SetPingHandler(h func(string) error) {
 	c.handlePing = h
 }
 
-// SetPongHandler sets then handler for pong messages received from the peer.
+// SetPongHandler sets the handler for pong messages received from the peer.
 // The default pong handler does nothing.
 func (c *Conn) SetPongHandler(h func(string) error) {
 	if h == nil {