aboutsummaryrefslogtreecommitdiff
path: root/src/context/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/context/context.go')
-rw-r--r--src/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/context.go b/src/context/context.go
index e95f553804..30adfe987d 100644
--- a/src/context/context.go
+++ b/src/context/context.go
@@ -295,7 +295,7 @@ func Cause(c Context) error {
}
// AfterFunc arranges to call f in its own goroutine after ctx is done
-// (cancelled or timed out).
+// (canceled or timed out).
// If ctx is already done, AfterFunc calls f immediately in its own goroutine.
//
// Multiple calls to AfterFunc on a context operate independently;