]> Cypherpunks repositories - gostls13.git/commit
net/http: make use of maps.Clone for Transport.{Clone, RegisterProtocol}
authorJes Cok <xigua67damn@gmail.com>
Mon, 9 Sep 2024 16:26:41 +0000 (16:26 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 10 Sep 2024 19:59:02 +0000 (19:59 +0000)
commit77e42fdeaf98d241dc09f4eb92e09225aea8f4c3
tree99f425882051169d8f58ba4651533c72b3188a1e
parentaf0c40311e2ee33ecd24971257606f42a49cf593
net/http: make use of maps.Clone for Transport.{Clone, RegisterProtocol}

Not a big deal, maybe it's a bit clearer that it's cloning a map.

Change-Id: I7c85382a01df97d1f58109b2483061e6decdf03a
GitHub-Last-Rev: 7a88af7f56ab7ad017081187e226e901752fa8bc
GitHub-Pull-Request: golang/go#69357
Reviewed-on: https://go-review.googlesource.com/c/go/+/612015
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/net/http/transport.go