diff options
author | Ian Lance Taylor <iant@golang.org> | 2023-06-06 10:57:50 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-06-11 00:33:08 +0000 |
commit | fd353a12803863a59e200c917c88cc7fe2f0ade5 (patch) | |
tree | b741e6447150021d7039a2e0e51742239f712733 /src/context | |
parent | e14937866e0e4aa3fd296e13d1df2d883927ed28 (diff) | |
download | go-fd353a12803863a59e200c917c88cc7fe2f0ade5.tar.gz go-fd353a12803863a59e200c917c88cc7fe2f0ade5.zip |
context: fix doc tipo (s/timout/timeout)
Change-Id: Ib02b35887896eab418ba9dde764754538cb23b4f
Reviewed-on: https://go-review.googlesource.com/c/go/+/501277
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/context')
-rw-r--r-- | src/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |