1
0
mirror of https://github.com/golang/go synced 2024-11-14 19:50:21 -07:00

doc: fix typos in docs

Change-Id: Ib51283b35d6d35acd7a90cd531ff6897a23d9894
GitHub-Last-Rev: dd485f332e
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>
This commit is contained in:
guoguangwu 2024-04-23 05:27:54 +00:00 committed by Gopher Robot
parent 62dfa43101
commit 4792ca7b93
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
### New unique package
The new [unique](/pkg/unique) package provides facilites for
The new [unique](/pkg/unique) package provides facilities for
canonicalizing values (like "interning" or "hash-consing").
Any value of comparable type may be canonicalized with the new

View File

@ -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.