Commit 4a8ce14a authored by haormj's avatar haormj Committed by Daniel Martí

net/http: fix spelling mistake in a comment

Fixes #28904

Change-Id: I8d416c47479a266735a39c926fd2f0f2bb25d57b
GitHub-Last-Rev: 3a7865a5be27937833cf4f65c242c639e51665c4
GitHub-Pull-Request: golang/go#28907
Reviewed-on: https://go-review.googlesource.com/c/150737Reviewed-by: default avatarDaniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 3068fcfa
...@@ -2416,7 +2416,7 @@ type fakeLocker struct{} ...@@ -2416,7 +2416,7 @@ type fakeLocker struct{}
func (fakeLocker) Lock() {} func (fakeLocker) Lock() {}
func (fakeLocker) Unlock() {} func (fakeLocker) Unlock() {}
// clneTLSConfig returns a shallow clone of cfg, or a new zero tls.Config if // cloneTLSConfig returns a shallow clone of cfg, or a new zero tls.Config if
// cfg is nil. This is safe to call even if cfg is in active use by a TLS // cfg is nil. This is safe to call even if cfg is in active use by a TLS
// client or server. // client or server.
func cloneTLSConfig(cfg *tls.Config) *tls.Config { func cloneTLSConfig(cfg *tls.Config) *tls.Config {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment