From: Filippo Valsorda Date: Mon, 7 Jun 2021 14:24:11 +0000 (-0400) Subject: crypto/tls: fix typo in Config.NextProtos docs X-Git-Tag: go1.17beta1~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e3176bbc3e;p=gostls13.git crypto/tls: fix typo in Config.NextProtos docs Change-Id: I916df584859595067e5e86c35607869397dbbd8c Reviewed-on: https://go-review.googlesource.com/c/go/+/325651 Trust: Filippo Valsorda Run-TryBot: Filippo Valsorda TryBot-Result: Go Bot Reviewed-by: Dmitri Shuralyov --- diff --git a/src/crypto/tls/common.go b/src/crypto/tls/common.go index 77957ef82b..d561e61707 100644 --- a/src/crypto/tls/common.go +++ b/src/crypto/tls/common.go @@ -619,7 +619,7 @@ type Config struct { // protocol will be one from this list, and the connection will fail // if there is no mutually supported protocol. If NextProtos is empty // or the peer doesn't support ALPN, the connection will succeed and - // ConnectionState.NegotiatedProtocol will be empty." + // ConnectionState.NegotiatedProtocol will be empty. NextProtos []string // ServerName is used to verify the hostname on the returned