aboutsummaryrefslogtreecommitdiff
path: root/src/net/lookup.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2019-03-28 16:15:14 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2019-04-16 20:27:15 +0000
commit5781df421e721088f3ff6229f0e8d4e4c04765b8 (patch)
tree4f726e5bca753566c70f9c8d4957697996a9dcf7 /src/net/lookup.go
parent34b1f210462409f8c05d927a80d973b5692c1d26 (diff)
downloadgo-5781df421e721088f3ff6229f0e8d4e4c04765b8.tar.gz
go-5781df421e721088f3ff6229f0e8d4e4c04765b8.zip
all: s/cancelation/cancellation/
Though there is variation in the spelling of canceled, cancellation is always spelled with a double l. Reference: https://www.grammarly.com/blog/canceled-vs-cancelled/ Change-Id: I240f1a297776c8e27e74f3eca566d2bc4c856f2f Reviewed-on: https://go-review.googlesource.com/c/go/+/170060 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/lookup.go')
-rw-r--r--src/net/lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/lookup.go b/src/net/lookup.go
index 08e8d01385..0af1e2c289 100644
--- a/src/net/lookup.go
+++ b/src/net/lookup.go
@@ -255,7 +255,7 @@ func (r *Resolver) lookupIPAddr(ctx context.Context, network, host string) ([]IP
resolverFunc = alt
}
- // We don't want a cancelation of ctx to affect the
+ // We don't want a cancellation of ctx to affect the
// lookupGroup operation. Otherwise if our context gets
// canceled it might cause an error to be returned to a lookup
// using a completely different context. However we need to preserve