Gopher Robot submitted the change![Open in Gerrit]()
Change information
Commit message:
context: fix package doc description of WithDeadlineCause and WithTimeoutCause
The package documentation incorrectly states that WithCancelCause,
WithDeadlineCause, and WithTimeoutCause all return a CancelCauseFunc.
In fact, only WithCancelCause returns a CancelCauseFunc. WithDeadlineCause
and WithTimeoutCause accept a cause error parameter directly and return
a plain CancelFunc.
Update the documentation to accurately describe the difference.
Fixes #77478
Change-Id: I581f8a954dd98567bc46e74ded62af927cc48fb2
Change size: S
Delta: 1 file changed, 6 insertions(+), 5 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +1 by Mark Freeman, +2 by Ian Lance Taylor, +1 by Sean Liao, +1 by Carlos Amedee
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I581f8a954dd98567bc46e74ded62af927cc48fb2
Gerrit-Change-Number: 750824
Gerrit-PatchSet: 2