aboutsummaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorKevin Burke <kev@inburke.com>2016-12-14 20:20:42 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2016-12-15 04:48:38 +0000
commit2adc2d1b8bd0cb389e1ecd511b4e213a5a8a7107 (patch)
treebdab920ebe82205b9105c658da8ae028285ced77 /src/net
parent3444e5b3551060ab8cc0d4c70a9dce823d8f569a (diff)
downloadgo-2adc2d1b8bd0cb389e1ecd511b4e213a5a8a7107.tar.xz
net: fix typo
Change-Id: Icef8a21654a248666c684d5b10d0337c544ddb25 Reviewed-on: https://go-review.googlesource.com/34388 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net')
-rw-r--r--src/net/dial.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/dial.go b/src/net/dial.go
index e30f636fb3..b73426fa44 100644
--- a/src/net/dial.go
+++ b/src/net/dial.go
@@ -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.