Explorar o código

rpc: fix a comment typo (#16929)

xincaosu %!s(int64=7) %!d(string=hai) anos
pai
achega
1d666cf27e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rpc/server.go

+ 1 - 1
rpc/server.go

@@ -145,7 +145,7 @@ func (s *Server) serveRequest(ctx context.Context, codec ServerCodec, singleShot
 	defer cancel()
 
 	// if the codec supports notification include a notifier that callbacks can use
-	// to send notification to clients. It is thight to the codec/connection. If the
+	// to send notification to clients. It is tied to the codec/connection. If the
 	// connection is closed the notifier will stop and cancels all active subscriptions.
 	if options&OptionSubscriptions == OptionSubscriptions {
 		ctx = context.WithValue(ctx, notifierKey{}, newNotifier(codec))