src/net/http/server.go | 2 +- diff --git a/src/net/http/server.go b/src/net/http/server.go index a46823c70421b5d2b6432fa2a9a7b5fc6827a5a5..3fa666016490519d6c84f502a793c824deaf911c 100644 --- a/src/net/http/server.go +++ b/src/net/http/server.go @@ -2778,7 +2778,7 @@ // a certificate authority, the certFile should be the concatenation of the // server's certificate, any intermediates, and the CA's certificate. // // For HTTP/2 support, srv.TLSConfig should be initialized to the -// provided listener's TLS Config before calling Serve. If +// provided listener's TLS Config before calling ServeTLS. If // srv.TLSConfig is non-nil and doesn't include the string "h2" in // Config.NextProtos, HTTP/2 support is not enabled. //