1
0
mirror of https://github.com/golang/go synced 2024-11-26 08:58:09 -07:00

doc/go1.16: add missing <code> tag

For #40700.

Change-Id: I616429f82a44cea32701ed0af6e42ed6c71ee097
Reviewed-on: https://go-review.googlesource.com/c/go/+/277378
Trust: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Tobias Klauser 2020-12-14 11:25:04 +01:00 committed by Tobias Klauser
parent dea6d94a44
commit d06794da4a

View File

@ -379,7 +379,7 @@ func TestFoo(t *testing.T) {
summarizing its execution time and memory allocation. This trace can summarizing its execution time and memory allocation. This trace can
be used to find bottlenecks or regressions in Go startup be used to find bottlenecks or regressions in Go startup
performance. performance.
The <a href="/pkg/runtime/#hdr-Environment_Variables"><code>GODEBUG</code>< The <a href="/pkg/runtime/#hdr-Environment_Variables"><code>GODEBUG</code>
documentation</a> describes the format. documentation</a> describes the format.
</p> </p>
@ -461,7 +461,7 @@ func TestFoo(t *testing.T) {
<p> <p>
On the producer side of the interface, On the producer side of the interface,
the new <a href="/pkg/embed/#FS">embed.FS</code></a> type the new <a href="/pkg/embed/#FS"><code>embed.FS</code></a> type
implements <code>fs.FS</code>, as does implements <code>fs.FS</code>, as does
<a href="/pkg/archive/zip/#Reader"><code>zip.Reader</code></a>. <a href="/pkg/archive/zip/#Reader"><code>zip.Reader</code></a>.
The new <a href="/pkg/os/#DirFS"><code>os.DirFS</code></a> function The new <a href="/pkg/os/#DirFS"><code>os.DirFS</code></a> function