diff --git a/doc/go1.19.html b/doc/go1.19.html index 5c48302bf78..c1523c57ecb 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -106,9 +106,9 @@ Do not send CLs removing the interior tags from such phrases.
When a net package function or method returns an "I/O timeout"
error, the error will now satisfy errors.Is(err,
- context.Canceled)
. When a net package function returns
- an "operation was canceled" error, the error will now satisfy
- errors.Is(err, context.DeadlineExceeded)
.
+ context.DeadlineExceeded). When a net package function
+ returns an "operation was canceled" error, the error will now
+ satisfy errors.Is(err, context.Canceled)
.
These changes are intended to make it easier for code to test
for cases in which a context cancelation or timeout causes a net
package function or method to return an error, while preserving