diff options
Diffstat (limited to 'doc/next/6-stdlib/99-minor/net/63116.md')
-rw-r--r-- | doc/next/6-stdlib/99-minor/net/63116.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/next/6-stdlib/99-minor/net/63116.md b/doc/next/6-stdlib/99-minor/net/63116.md index 89ec4b1e07..87a0983749 100644 --- a/doc/next/6-stdlib/99-minor/net/63116.md +++ b/doc/next/6-stdlib/99-minor/net/63116.md @@ -1,3 +1,3 @@ -The [DNSError] type now wraps errors caused by timeouts or cancelation. +The [DNSError] type now wraps errors caused by timeouts or cancellation. For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)` will now report whether a DNS error was caused by a timeout. |