]> Cypherpunks repositories - gostls13.git/commitdiff
net: Fix spelling of function name in doc
authorKevin Burke <kev@inburke.com>
Fri, 23 Dec 2016 01:21:31 +0000 (17:21 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 23 Dec 2016 03:17:03 +0000 (03:17 +0000)
Change-Id: I24c6d312f7d0ce52e1958e8031fc8249af0dfca9
Reviewed-on: https://go-review.googlesource.com/34669
Reviewed-by: Minux Ma <minux@golang.org>
src/net/dial.go

index b73426fa4416ca56af051642c8aad5ac420abbfd..50bba5a49e426eb465a1f1910ee0da14150edc8f 100644 (file)
@@ -163,7 +163,7 @@ func parseNetwork(ctx context.Context, net string) (afnet string, proto int, err
        return "", 0, UnknownNetworkError(net)
 }
 
-// resolverAddrList resolves addr using hint and returns a list of
+// resolveAddrList resolves addr using hint and returns a list of
 // addresses. The result contains at least one address when error is
 // nil.
 func (r *Resolver) resolveAddrList(ctx context.Context, op, network, addr string, hint Addr) (addrList, error) {