_content/doc: fix typos and what looks like swapped paragraphs the paragraphs for go/types and time appeared to be swapped in the original, I swapped them back. Change-Id: Ibf9da0f4a14e77e28de8a87e2a7aca0537e25c7c Reviewed-on: https://go-review.googlesource.com/c/website/+/726900 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Mark Freeman <markfreeman@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/_content/doc/go1.26.md b/_content/doc/go1.26.md index 007aa2d..6d60ed0 100644 --- a/_content/doc/go1.26.md +++ b/_content/doc/go1.26.md
@@ -355,7 +355,7 @@ #### [`crypto/x509`](/pkg/crypto/x509/) The [`ExtKeyUsage`](/pkg/crypto/x509#ExtKeyUsage) and [`KeyUsage`](/pkg/crypto/x509#KeyUsage) types now have String methods that return the -correspodning OID names as defined in RFC 5280 and other registries. +corresponding OID names as defined in RFC 5280 and other registries. The [`ExtKeyUsage`](/pkg/crypto/x509#ExtKeyUsage) type now has an OID method that returns the corresponding OID for the EKU. @@ -399,10 +399,11 @@ #### [`go/types`](/pkg/go/types/) -The `asynctimerchan` GODEBUG setting introduced in [Go 1.23](/doc/godebug#go-123) +The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122) will be removed in the next major Go release. -Starting in Go 1.27, the [time](/pkg/time) package will always use unbuffered -(synchronous) channels for timers regardless of GODEBUG setting or go.mod language version. +Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an +[Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations) +regardless of GODEBUG setting or go.mod language version. #### [`image/jpeg`](/pkg/image/jpeg/) @@ -437,8 +438,8 @@ The new [`Transport.NewClientConn`](/pkg/net/http#Transport.NewClientConn) method returns a client connection to an HTTP server. Most users should continue to use [`Transport.RoundTrip`](/pkg/net/http#Transport.RoundTrip) to make requests, -which manages a pool of connection. -`NewClientConn` is useful for users who need to implement their own conection management. +which manages a pool of connections. +`NewClientConn` is useful for users who need to implement their own connection management. #### [`net/http/httptest`](/pkg/net/http/httptest/) @@ -533,11 +534,10 @@ #### [`time`](/pkg/time/) -The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122) +The `asynctimerchan` GODEBUG setting introduced in [Go 1.23](/doc/godebug#go-123) will be removed in the next major Go release. -Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an -[Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations) -regardless of GODEBUG setting or go.mod language version. +Starting in Go 1.27, the [time](/pkg/time) package will always use unbuffered +(synchronous) channels for timers regardless of GODEBUG setting or go.mod language version. ## Ports {#ports}