]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix typo
authorKevin Burke <kev@inburke.com>
Thu, 15 Dec 2016 04:20:42 +0000 (20:20 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 15 Dec 2016 04:48:38 +0000 (04:48 +0000)
Change-Id: Icef8a21654a248666c684d5b10d0337c544ddb25
Reviewed-on: https://go-review.googlesource.com/34388
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/dial.go

index e30f636fb35f921800ed057160b21112424dd792..b73426fa4416ca56af051642c8aad5ac420abbfd 100644 (file)
@@ -305,7 +305,7 @@ func (d *Dialer) Dial(network, address string) (Conn, error) {
 // When using TCP, and the host in the address parameter resolves to multiple
 // network addresses, any dial timeout (from d.Timeout or ctx) is spread
 // over each consecutive dial, such that each is given an appropriate
-// faction of the time to connect.
+// fraction of the time to connect.
 // For example, if a host has 4 IP addresses and the timeout is 1 minute,
 // the connect to each single address will be given 15 seconds to complete
 // before trying the next one.