Skip to content

Commit 3a7865a

Browse files
committed
net/http: spelling mistake in a comment
Fixes #28904
1 parent ddccd95 commit 3a7865a

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)