From 3bea3c5f8bb813985889982d7d9110da8257e9b2 Mon Sep 17 00:00:00 2001 From: Eric Drechsel <ericdrex@gmail.com> Date: Fri, 2 Sep 2016 12:20:15 -0700 Subject: [PATCH] Doc: Fix typo in func (s *Server) comment --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index b2a825ad..d91307e0 100644 --- a/server.go +++ b/server.go @@ -324,7 +324,7 @@ func (s *Server) useTransportAuthenticator(rawConn net.Conn) (net.Conn, credenti // Serve accepts incoming connections on the listener lis, creating a new // ServerTransport and service goroutine for each. The service goroutines // read gRPC requests and then call the registered handlers to reply to them. -// Service returns when lis.Accept fails. lis will be closed when +// Serve returns when lis.Accept fails. lis will be closed when // this method returns. func (s *Server) Serve(lis net.Listener) error { s.mu.Lock()