1
0
mirror of https://github.com/golang/go synced 2024-11-16 21:04:45 -07:00

doc/go1.19: minor fixes

EM_LONGARCH and R_LARCH_* are defined in package debug/elf. Change the
definition list title accordingly.

Format links sort.Find and sort.Search as code.

Add a link to syscall.Getrusage.

Change-Id: I30602baedda8ccac028101858a608f1d8ffb633b
Reviewed-on: https://go-review.googlesource.com/c/go/+/419214
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
Tobias Klauser 2022-07-22 23:35:41 +02:00 committed by Gopher Robot
parent dcea1ee6e3
commit 9eb3992ddd

View File

@ -471,14 +471,14 @@ as well as support for rendering them to HTML, Markdown, and text.
</dd> </dd>
</dl><!-- crypto/x509/pkix --> </dl><!-- crypto/x509/pkix -->
<dl id="debug"><dt><a href="/pkg/debug/">debug</a></dt> <dl id="debug/elf"><dt><a href="/pkg/debug/elf">debug/elf</a></dt>
<dd> <dd>
<p><!-- CL 396735 --> <p><!-- CL 396735 -->
The new <code>EM_LONGARCH</code> and <code>R_LARCH_*</code> constants The new <code>EM_LONGARCH</code> and <code>R_LARCH_*</code> constants
support the loong64 port. support the loong64 port.
</p> </p>
</dd> </dd>
</dl><!-- debug --> </dl><!-- debug/elf -->
<dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt> <dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
<dd> <dd>
@ -907,9 +907,9 @@ as well as support for rendering them to HTML, Markdown, and text.
</p> </p>
<p><!-- https://go.dev/issue/50340 --><!-- CL 396514 --> <p><!-- https://go.dev/issue/50340 --><!-- CL 396514 -->
The new function The new function
<a href="/pkg/sort/#Find">Find</a> <a href="/pkg/sort/#Find"><code>Find</code></a>
is like is like
<a href="/pkg/sort/#Search">Search</a> <a href="/pkg/sort/#Search"><code>Search</code></a>
but often easier to use: it returns an additional boolean reporting whether an equal value was found. but often easier to use: it returns an additional boolean reporting whether an equal value was found.
</p> </p>
</dd> </dd>
@ -939,7 +939,7 @@ as well as support for rendering them to HTML, Markdown, and text.
</p> </p>
<p><!-- CL 391434 --> <p><!-- CL 391434 -->
On AIX and Solaris, <code>Getrusage</code> is now defined. On AIX and Solaris, <a href="/pkg/syscall/#Getrusage"><code>Getrusage</code></a> is now defined.
</p> </p>
</dd> </dd>
</dl><!-- syscall --> </dl><!-- syscall -->