From: Ian Lance Taylor Date: Tue, 6 Jun 2023 17:57:50 +0000 (-0700) Subject: context: fix doc tipo (s/timout/timeout) X-Git-Tag: go1.21rc1~40 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fd353a12803863a59e200c917c88cc7fe2f0ade5;p=gostls13.git 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 --- 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)