]> Cypherpunks repositories - gostls13.git/commitdiff
doc: improve release note for Windows hosts file being respected
authorDavis Goodin <dagood@microsoft.com>
Wed, 13 Dec 2023 19:38:01 +0000 (11:38 -0800)
committerQuim Muntal <quimmuntal@gmail.com>
Thu, 14 Dec 2023 18:20:06 +0000 (18:20 +0000)
Make a grammar fix (searches -> searches for) and simplify "when
building with" phrase.

For #61422.

Change-Id: I179b3816c0e223a16e4969290b2c1ed19d44c556
Reviewed-on: https://go-review.googlesource.com/c/go/+/549457
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
doc/go1.22.html

index 233f7e1fb01599486483a4c160b5c42b648d31a3..cd20bb747908e79937937a14a97e7349685719f7 100644 (file)
@@ -621,8 +621,8 @@ defer func() {
     </p>
 
     <p><!-- CL 467335 -->
-      The Go DNS Resolver, used when building the binary with "-tags=netgo",
-      now searches a matching name in the Windows hosts file,
+      The Go DNS Resolver, used when building with "-tags=netgo",
+      now searches for a matching name in the Windows hosts file,
       located at <code>%SystemRoot%\System32\drivers\etc\hosts</code>,
       before making a DNS query.
     </p>