From fd353a12803863a59e200c917c88cc7fe2f0ade5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 6 Jun 2023 10:57:50 -0700 Subject: [PATCH] context: fix doc tipo (s/timout/timeout) Change-Id: Ib02b35887896eab418ba9dde764754538cb23b4f Reviewed-on: https://go-review.googlesource.com/c/go/+/501277 Reviewed-by: Dmitri Shuralyov Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor Reviewed-by: Dmitri Shuralyov Run-TryBot: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Auto-Submit: Ian Lance Taylor TryBot-Result: Gopher Robot --- src/context/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/context.go b/src/context/context.go index 6135a3cd47..ee66b43c85 100644 --- a/src/context/context.go +++ b/src/context/context.go @@ -686,7 +686,7 @@ func WithTimeout(parent Context, timeout time.Duration) (Context, CancelFunc) { } // WithTimeoutCause behaves like [WithTimeout] but also sets the cause of the -// returned Context when the timout expires. The returned [CancelFunc] does +// returned Context when the timeout expires. The returned [CancelFunc] does // not set the cause. func WithTimeoutCause(parent Context, timeout time.Duration, cause error) (Context, CancelFunc) { return WithDeadlineCause(parent, time.Now().Add(timeout), cause) -- 2.50.0