]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: fix html tags
authorcui fliter <imcusg@gmail.com>
Wed, 2 Aug 2023 06:39:11 +0000 (14:39 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 3 Aug 2023 14:43:29 +0000 (14:43 +0000)
Change-Id: I535bec2de8f4f7dd415896a020d71c373c22be56
Reviewed-on: https://go-review.googlesource.com/c/go/+/515155
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: David Chase <drchase@google.com>
doc/go1.17_spec.html
doc/go1.21.html
doc/go_mem.html
doc/go_spec.html

index 0b374e7bfb2a938ec2cd6749a1aea12d2a8a5583..15e73c3867abe8298538b16d07b9658e24d3f7ae 100644 (file)
@@ -914,7 +914,7 @@ are required when different numeric types are mixed in an expression
 or assignment. For instance, <code>int32</code> and <code>int</code>
 are not the same type even though they may have the same size on a
 particular architecture.
-
+</p>
 
 <h3 id="String_types">String types</h3>
 
@@ -1451,6 +1451,7 @@ maps grow to accommodate the number of items
 stored in them, with the exception of <code>nil</code> maps.
 A <code>nil</code> map is equivalent to an empty map except that no elements
 may be added.
+</p>
 
 <h3 id="Channel_types">Channel types</h3>
 
@@ -3641,6 +3642,8 @@ As the  <code>++</code> and <code>--</code> operators form
 statements, not expressions, they fall
 outside the operator hierarchy.
 As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
+</p>
+
 <p>
 There are five precedence levels for binary operators.
 Multiplication operators bind strongest, followed by addition
index 5ecc07ddcfb10007c1f172b14c166e3891d915ec..45b037a204a2bf50acee2166ea8b25a06450f9ea 100644 (file)
@@ -484,6 +484,7 @@ Do not send CLs removing the interior tags from such phrases.
       <a href="/pkg/context/#Context"><code>Context</code></a> values
       for equality has never been well-defined, so this is not
       considered to be an incompatible change.
+    </p>
   </dd>
 </dl>
 
@@ -581,7 +582,7 @@ Do not send CLs removing the interior tags from such phrases.
     </p>
 
     <p><!-- https://go.dev/issue/46308, CL 497377 -->
-      The new <a href="/pkg/crypto/tls/#VersionName"></code>VersionName</code></a> function
+      The new <a href="/pkg/crypto/tls/#VersionName"><code>VersionName</code></a> function
       returns the name for a TLS version number.
     </p>
   </dd>
@@ -1037,6 +1038,8 @@ Do not send CLs removing the interior tags from such phrases.
       is no longer available as a <a href="/pkg/runtime#hdr-Environment_Variables">debug option</a>.
       Instead, it is available as an experiment using <code>GOEXPERIMENT=cgocheck2</code>.
       In particular this means that this mode has to be selected at build time instead of startup time.
+    </p>
+
     <p>
       <code>GODEBUG=cgocheck=1</code> is still available (and is still the default).
     </p>
@@ -1171,6 +1174,7 @@ Do not send CLs removing the interior tags from such phrases.
       associated support throughout the system has been upgraded to
       <a href="https://www.unicode.org/versions/Unicode15.0.0/">Unicode 15.0.0</a>.
     </p>
+  </dd>
 </dl><!-- unicode -->
 
 <h2 id="ports">Ports</h2>
index e0a7539472e650e0aa1a45178a493152c149b8f9..026c1172e3a4c0ea9fa8f147202471f083b2cae8 100644 (file)
@@ -159,6 +159,7 @@ union of the sequenced before and synchronized before relations.
 For an ordinary (non-synchronizing) data read <i>r</i> on a memory location <i>x</i>,
 <i>W</i>(<i>r</i>) must be a write <i>w</i> that is <i>visible</i> to <i>r</i>,
 where visible means that both of the following hold:
+</p>
 
 <ol>
 <li><i>w</i> happens before <i>r</i>.
index d1b8bf2a9171bb26c2b60c682f9124f44f52089f..371db8c28f11c6c9b0f86f80984f3ef67dc53cb3 100644 (file)
@@ -884,7 +884,7 @@ are required when different numeric types are mixed in an expression
 or assignment. For instance, <code>int32</code> and <code>int</code>
 are not the same type even though they may have the same size on a
 particular architecture.
-
+</p>
 
 <h3 id="String_types">String types</h3>
 
@@ -3910,7 +3910,7 @@ For <code>a</code> of <a href="#Type_parameter_declarations">type parameter type
            that <code>P</code> is instantiated with, and the type of <code>a[x]</code> is
            the type of the (identical) element types.</li>
        <li><code>a[x]</code> may not be assigned to if <code>P</code>'s type set
-           includes string types.
+           includes string types.</li>
 </ul>
 
 <p>
@@ -4639,7 +4639,7 @@ Type inference succeeds if no unification step fails and the map has
 an entry for each type parameter.
 </p>
 
-</pre>
+<p>
 For example, given the type equation with the bound type parameter
 <code>P</code>
 </p>
@@ -4803,6 +4803,7 @@ As the  <code>++</code> and <code>--</code> operators form
 statements, not expressions, they fall
 outside the operator hierarchy.
 As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
+</p>
 <p>
 There are five precedence levels for binary operators.
 Multiplication operators bind strongest, followed by addition