aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/net/63116.md
diff options
context:
space:
mode:
authorguoguangwu <guoguangwug@gmail.com>2024-04-23 05:27:54 +0000
committerGopher Robot <gobot@golang.org>2024-04-24 13:37:36 +0000
commit4792ca7b93d5745647a95ac73a93f9c9b97db499 (patch)
tree041facb3bbc5854ee87d833b9deaa984725f04ef /doc/next/6-stdlib/99-minor/net/63116.md
parent62dfa43101ce0abe5c919b4c996a9ba157e6a5e0 (diff)
downloadgo-4792ca7b93d5745647a95ac73a93f9c9b97db499.tar.gz
go-4792ca7b93d5745647a95ac73a93f9c9b97db499.zip
doc: fix typos in docs
Change-Id: Ib51283b35d6d35acd7a90cd531ff6897a23d9894 GitHub-Last-Rev: dd485f332e58c9467d68ed571317dfd56eea9d16 GitHub-Pull-Request: golang/go#66985 Reviewed-on: https://go-review.googlesource.com/c/go/+/580797 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Joedian Reid <joedian@google.com>
Diffstat (limited to 'doc/next/6-stdlib/99-minor/net/63116.md')
-rw-r--r--doc/next/6-stdlib/99-minor/net/63116.md2
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.