]> Cypherpunks repositories - gostls13.git/commit
net: consistently document deadline handling
authorIan Lance Taylor <iant@golang.org>
Wed, 24 Jun 2020 21:47:41 +0000 (14:47 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 24 Jun 2020 22:40:11 +0000 (22:40 +0000)
commitb4652028d48f42506cfd10c1763c6d7e8b22cb7b
treee0a4c7bc83150ef0a40e7abbb385b819fe8f384e
parent7eb5941b95a588a23f18fa4c22fe42ff0119c311
net: consistently document deadline handling

After CL 228645 some mentions of the Deadline methods referred
to the Timeout method, and some to os.ErrDeadlineExceeded.
Stop referring to the Timeout method, to encourage ErrDeadlineExceeded.

For #31449

Change-Id: I27b8ff34f31798f38b06437546886af8cce98ca4
Reviewed-on: https://go-review.googlesource.com/c/go/+/239705
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/net.go