aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2021-06-10 14:40:58 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2021-06-11 16:09:15 +0000
commite2dc6dd5c9b6799c9bb987f3a4600fb0df686d09 (patch)
tree43b53b3426a1556d56db6352e179e267d4d9c14d /doc
parent2f1128461dcc6c9915f21327ce18fa1925269f30 (diff)
downloadgo-e2dc6dd5c9b6799c9bb987f3a4600fb0df686d09.tar.gz
go-e2dc6dd5c9b6799c9bb987f3a4600fb0df686d09.zip
doc/go1.17: clean up formatting of gofmt section
It was the only h3 in <code>, and it lacked <p> around its content. It looked like it was part of the prior section: https://tip.golang.org/doc/go1.17#gofmt Change-Id: I7e9ef70e9a03474225833f44420aabd70dab3cd5 Reviewed-on: https://go-review.googlesource.com/c/go/+/326774 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.17.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/go1.17.html b/doc/go1.17.html
index 101957aabd..4fa38921f0 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -293,7 +293,9 @@ Do not send CLs removing the interior tags from such phrases.
<a href="https://golang.org/design/draft-gobuild">https://golang.org/design/draft-gobuild</a>.
</p>
-<h3 id="gofmt"><code>gofmt</code></h3>
+<h3 id="gofmt">Gofmt</h3>
+
+<p>
<code>gofmt</code> (and <code>go</code> <code>fmt</code>) now synchronizes
<code>//go:build</code> lines with <code>// +build</code> lines. If a file
only has <code>// +build</code> lines, they will be moved to the appropriate
@@ -301,7 +303,7 @@ Do not send CLs removing the interior tags from such phrases.
added. Otherwise, <code>// +build</code> lines will be overwritten based on
any existing <code>//go:build</code> lines. For more information, see
<a href="https://golang.org/design/draft-gobuild">https://golang.org/design/draft-gobuild</a>.
-</h3>
+</p>
<h3 id="vet">Vet</h3>