From 5781df421e721088f3ff6229f0e8d4e4c04765b8 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Thu, 28 Mar 2019 16:15:14 -0700 Subject: 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/context/example_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/context/example_test.go') diff --git a/src/context/example_test.go b/src/context/example_test.go index 2b28b57704..b91a8acef3 100644 --- a/src/context/example_test.go +++ b/src/context/example_test.go @@ -59,7 +59,7 @@ func ExampleWithDeadline() { ctx, cancel := context.WithDeadline(context.Background(), d) // Even though ctx will be expired, it is good practice to call its - // cancelation function in any case. Failure to do so may keep the + // cancellation function in any case. Failure to do so may keep the // context and its parent alive longer than necessary. defer cancel() -- cgit v1.3