]> Cypherpunks.ru repositories - gostls13.git/commitdiff
internal/nettrace: fix comment typo
authorflaxinger <70012548+flaxinger@users.noreply.github.com>
Mon, 16 Oct 2023 08:55:11 +0000 (08:55 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 19 Oct 2023 11:57:14 +0000 (11:57 +0000)
Change-Id: I23e2bc67476ed1cedf61db9953683e57ab6bf522
GitHub-Last-Rev: 458581ec261eae790fc54537fcecb0fd5915af1e
GitHub-Pull-Request: golang/go#63530
Reviewed-on: https://go-review.googlesource.com/c/go/+/535655
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Yohan Mok <yohan@ab180.co>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/internal/nettrace/nettrace.go

index 0a2bf925e9a7f24e0ae8dc671225da2da8f4b2ee..7d46268a1c59b7b3b6bc6fec738c5b294bf89015 100644 (file)
@@ -39,7 +39,7 @@ type Trace struct {
        // goroutines.
        ConnectStart func(network, addr string)
 
-       // ConnectStart is called after a Dial with the results, excluding
+       // ConnectDone is called after a Dial with the results, excluding
        // Dials made during DNS lookups. It may also be called multiple
        // times, like ConnectStart.
        ConnectDone func(network, addr string, err error)