From 1e12eab8705d1d8d7472be9147a39caa1c8380db Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 22 Mar 2024 23:31:44 +0800 Subject: all: fix a large number of comments Partial typo corrections, following https://go.dev/wiki/Spelling Change-Id: I2357906ff2ea04305c6357418e4e9556e20375d1 Reviewed-on: https://go-review.googlesource.com/c/go/+/573776 LUCI-TryBot-Result: Go LUCI TryBot-Result: Gopher Robot Reviewed-by: Than McIntosh Run-TryBot: shuang cui Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor --- src/net/http/transport_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/http') diff --git a/src/net/http/transport_test.go b/src/net/http/transport_test.go index 744bbf1ad1..e8baa486a4 100644 --- a/src/net/http/transport_test.go +++ b/src/net/http/transport_test.go @@ -754,7 +754,7 @@ func testTransportMaxConnsPerHostDialCancellation(t *testing.T, mode testMode) { tr := c.Transport.(*Transport) tr.MaxConnsPerHost = 1 - // This request is cancelled when dial is queued, which preempts dialing. + // This request is canceled when dial is queued, which preempts dialing. ctx, cancel := context.WithCancel(context.Background()) defer cancel() SetPendingDialHooks(cancel, nil) -- cgit v1.3-6-g1900