Skip to content

Commit 3c25d83

Browse files
cuishuanggopherbot
authored andcommitted
doc: fix html tags
Change-Id: I535bec2de8f4f7dd415896a020d71c373c22be56 Reviewed-on: https://go-review.googlesource.com/c/go/+/515155 Run-TryBot: shuang cui <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent a4e694b commit 3c25d83

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

doc/go1.17_spec.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ <h3 id="Numeric_types">Numeric types</h3>
914914
or assignment. For instance, <code>int32</code> and <code>int</code>
915915
are not the same type even though they may have the same size on a
916916
particular architecture.
917-
917+
</p>
918918

919919
<h3 id="String_types">String types</h3>
920920

@@ -1451,6 +1451,7 @@ <h3 id="Map_types">Map types</h3>
14511451
stored in them, with the exception of <code>nil</code> maps.
14521452
A <code>nil</code> map is equivalent to an empty map except that no elements
14531453
may be added.
1454+
</p>
14541455

14551456
<h3 id="Channel_types">Channel types</h3>
14561457

@@ -3641,6 +3642,8 @@ <h4 id="Operator_precedence">Operator precedence</h4>
36413642
statements, not expressions, they fall
36423643
outside the operator hierarchy.
36433644
As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
3645+
</p>
3646+
36443647
<p>
36453648
There are five precedence levels for binary operators.
36463649
Multiplication operators bind strongest, followed by addition

doc/go1.21.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
484484
<a href="/pkg/context/#Context"><code>Context</code></a> values
485485
for equality has never been well-defined, so this is not
486486
considered to be an incompatible change.
487+
</p>
487488
</dd>
488489
</dl>
489490

@@ -581,7 +582,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
581582
</p>
582583

583584
<p><!-- https://go.dev/issue/46308, CL 497377 -->
584-
The new <a href="/pkg/crypto/tls/#VersionName"></code>VersionName</code></a> function
585+
The new <a href="/pkg/crypto/tls/#VersionName"><code>VersionName</code></a> function
585586
returns the name for a TLS version number.
586587
</p>
587588
</dd>
@@ -1037,6 +1038,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
10371038
is no longer available as a <a href="/pkg/runtime#hdr-Environment_Variables">debug option</a>.
10381039
Instead, it is available as an experiment using <code>GOEXPERIMENT=cgocheck2</code>.
10391040
In particular this means that this mode has to be selected at build time instead of startup time.
1041+
</p>
1042+
10401043
<p>
10411044
<code>GODEBUG=cgocheck=1</code> is still available (and is still the default).
10421045
</p>
@@ -1171,6 +1174,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
11711174
associated support throughout the system has been upgraded to
11721175
<a href="https://www.unicode.org/versions/Unicode15.0.0/">Unicode 15.0.0</a>.
11731176
</p>
1177+
</dd>
11741178
</dl><!-- unicode -->
11751179

11761180
<h2 id="ports">Ports</h2>

doc/go_mem.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ <h2 id="model">Memory Model</h2>
159159
For an ordinary (non-synchronizing) data read <i>r</i> on a memory location <i>x</i>,
160160
<i>W</i>(<i>r</i>) must be a write <i>w</i> that is <i>visible</i> to <i>r</i>,
161161
where visible means that both of the following hold:
162+
</p>
162163

163164
<ol>
164165
<li><i>w</i> happens before <i>r</i>.

doc/go_spec.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ <h3 id="Numeric_types">Numeric types</h3>
884884
or assignment. For instance, <code>int32</code> and <code>int</code>
885885
are not the same type even though they may have the same size on a
886886
particular architecture.
887-
887+
</p>
888888

889889
<h3 id="String_types">String types</h3>
890890

@@ -3910,7 +3910,7 @@ <h3 id="Index_expressions">Index expressions</h3>
39103910
that <code>P</code> is instantiated with, and the type of <code>a[x]</code> is
39113911
the type of the (identical) element types.</li>
39123912
<li><code>a[x]</code> may not be assigned to if <code>P</code>'s type set
3913-
includes string types.
3913+
includes string types.</li>
39143914
</ul>
39153915

39163916
<p>
@@ -4639,7 +4639,7 @@ <h4 id="Type_unification">Type unification</h4>
46394639
an entry for each type parameter.
46404640
</p>
46414641

4642-
</pre>
4642+
<p>
46434643
For example, given the type equation with the bound type parameter
46444644
<code>P</code>
46454645
</p>
@@ -4803,6 +4803,7 @@ <h4 id="Operator_precedence">Operator precedence</h4>
48034803
statements, not expressions, they fall
48044804
outside the operator hierarchy.
48054805
As a consequence, statement <code>*p++</code> is the same as <code>(*p)++</code>.
4806+
</p>
48064807
<p>
48074808
There are five precedence levels for binary operators.
48084809
Multiplication operators bind strongest, followed by addition

0 commit comments

Comments
 (0)