Skip to content

Commit c648485

Browse files
haormjmvdan
authored andcommitted
net/http: fix spelling mistake in a comment
Fixes #28904 Change-Id: I8d416c47479a266735a39c926fd2f0f2bb25d57b GitHub-Last-Rev: 3a7865a GitHub-Pull-Request: #28907 Reviewed-on: https://go-review.googlesource.com/c/150737 Reviewed-by: Daniel Martí <[email protected]> Run-TryBot: Daniel Martí <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent ddccd95 commit c648485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net/http/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2416,7 +2416,7 @@ type fakeLocker struct{}
24162416
func (fakeLocker) Lock() {}
24172417
func (fakeLocker) Unlock() {}
24182418

2419-
// clneTLSConfig returns a shallow clone of cfg, or a new zero tls.Config if
2419+
// cloneTLSConfig returns a shallow clone of cfg, or a new zero tls.Config if
24202420
// cfg is nil. This is safe to call even if cfg is in active use by a TLS
24212421
// client or server.
24222422
func cloneTLSConfig(cfg *tls.Config) *tls.Config {

0 commit comments

Comments
 (0)