1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:10:23 -07:00

doc/go1.21: fix HTML formatting

Fix formatting mistakes in my previous CLs -- a missing code tag
and a broken comment tag.

Change-Id: I7f558f59b4e8fe9cb398d0093e5389b968d89eb3
Reviewed-on: https://go-review.googlesource.com/c/go/+/496115
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
Cherry Mui 2023-05-18 00:13:11 -04:00 committed by Gopher Robot
parent 7b0835d42d
commit 33a601bf7d

View File

@ -43,16 +43,17 @@ Do not send CLs removing the interior tags from such phrases.
As a result of the addition of the new <code>GOOS</code> value As a result of the addition of the new <code>GOOS</code> value
"<code>wasip1</code>", Go files named <code>*_wasip1.go</code> "<code>wasip1</code>", Go files named <code>*_wasip1.go</code>
will now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored will now be <a href="/pkg/go/build/#hdr-Build_Constraints">ignored
by Go tools</a> except when that GOOS value is being used. If you by Go tools</a> except when that <code>GOOS</code> value is being
have existing filenames matching that pattern, you will need to used.
rename them. If you have existing filenames matching that pattern, you will
need to rename them.
</p> </p>
<h2 id="tools">Tools</h2> <h2 id="tools">Tools</h2>
<h3 id="go-command">Go command</h3> <h3 id="go-command">Go command</h3>
<p><-- https://go.dev/issue/58099, CL 474236 --> <p><!-- https://go.dev/issue/58099, CL 474236 -->
The <code>-pgo</code> build flag now defaults to <code>-pgo=auto</code>, The <code>-pgo</code> build flag now defaults to <code>-pgo=auto</code>,
and the restriction of specifying a single main package on the command and the restriction of specifying a single main package on the command
line is now removed. If a file named <code>default.pgo</code> is present line is now removed. If a file named <code>default.pgo</code> is present