]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: minor fixes
authorTobias Klauser <tklauser@distanz.ch>
Fri, 22 Jul 2022 21:35:41 +0000 (23:35 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 25 Jul 2022 17:41:34 +0000 (17:41 +0000)
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>
doc/go1.19.html

index 3ce2233ab0194f6d17df886810f349a8d44fbcc3..ba8aa74ff5eb1037155627e38da3f24e781b9a17 100644 (file)
@@ -471,14 +471,14 @@ as well as support for rendering them to HTML, Markdown, and text.
   </dd>
 </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>
     <p><!-- CL 396735 -->
       The new <code>EM_LONGARCH</code> and <code>R_LARCH_*</code> constants
       support the loong64 port.
     </p>
   </dd>
-</dl><!-- debug -->
+</dl><!-- debug/elf -->
 
 <dl id="debug/pe"><dt><a href="/pkg/debug/pe/">debug/pe</a></dt>
   <dd>
@@ -907,9 +907,9 @@ as well as support for rendering them to HTML, Markdown, and text.
     </p>
     <p><!-- https://go.dev/issue/50340 --><!-- CL 396514 -->
       The new function
-      <a href="/pkg/sort/#Find">Find</a>
+      <a href="/pkg/sort/#Find"><code>Find</code></a>
       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.
     </p>
   </dd>
@@ -939,7 +939,7 @@ as well as support for rendering them to HTML, Markdown, and text.
     </p>
 
     <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>
   </dd>
 </dl><!-- syscall -->